summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjwise <jwise>1999-09-18 04:24:22 +0000
committerjwise <jwise>1999-09-18 04:24:22 +0000
commit8ecf7d0c999e7e506536d2d45ee1c86a516abf5a (patch)
tree39c1016e49ea2e4006a499b554e2b8fca6104059 /mk
parentf1c5c8f75c88e62161787871203da28749b9b6c0 (diff)
downloadpkgsrc-8ecf7d0c999e7e506536d2d45ee1c86a516abf5a.tar.gz
When a package is already installed, tell people about ``make update''
in addition to ``make reinstall'' and ``make FORCE_PKG_REGISTER= install''
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 83f0b2ee025..f6bb079dac8 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.339 1999/09/15 05:39:38 rh Exp $
+# $NetBSD: bsd.pkg.mk,v 1.340 1999/09/18 04:24:22 jwise Exp $
#
# This file is in the public domain.
#
@@ -1258,7 +1258,8 @@ root-install:
if [ "$$found" != "" ]; then \
${ECHO_MSG} "===> $$found is already installed - perhaps an older version?"; \
${ECHO_MSG} " If so, you may wish to \`\`pkg_delete $$found'' and install"; \
- ${ECHO_MSG} " this package again by \`\`${MAKE} reinstall'' to upgrade it properly."; \
+ ${ECHO_MSG} " this package again by \`\`${MAKE} reinstall'' to upgrade it properly,"; \
+ ${ECHO_MSG} " or use \`\`${MAKE} update'' to upgrade it and all of its dependencies."; \
${ECHO_MSG} " If you really wish to overwrite the old package of $$found"; \
${ECHO_MSG} " without deleting it first, set the variable \"FORCE_PKG_REGISTER\""; \
${ECHO_MSG} " in your environment or the \"${MAKE} install\" command line."; \