Subject: show example file name if config exists
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 08/03/2006 21:45:13
I had this for maybe a year...
Index: mk/pkginstall/files
===================================================================
RCS file: /cvsroot/pkgsrc/mk/pkginstall/files,v
retrieving revision 1.2
diff -u -r1.2 files
--- mk/pkginstall/files 19 Jul 2006 22:26:26 -0000 1.2
+++ mk/pkginstall/files 4 Aug 2006 02:27:52 -0000
@@ -167,6 +167,9 @@
if ${TEST} -f "$file"; then
${ECHO} ""
${ECHO} " $file already exists."
+ if ${TEST} -f "$f_eg"; then
+ ${ECHO} " [$f_eg]"
+ fi
elif ${TEST} -f "$f_eg"; then
${ECHO} ""
${ECHO} " $file"
Okay to commit?
Also may I do the following?
- ${ECHO} "and they can be removed if no other packages are using them:"
+ ${ECHO} "and they can be removed if no other software is using them:"
Since something else may have started using them beyond stuff from
packages.
Also I had a comment in there:
# if PKG_RCD_SCRIPTS is no don't show /etc/rc.d/ files here
CHECK-REMOVE)
I haven't checked this for a while, but maybe it wasn't supposed to show
the /etc/rc.d/ files during the CHECK-REMOVE.