summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorhubertf <hubertf>2004-02-05 05:05:54 +0000
committerhubertf <hubertf>2004-02-05 05:05:54 +0000
commitc4fe63520c69f883783438f145675ea1c389c5e8 (patch)
tree9fcc77f9f1dcef5329efdc47a42b23c90d83a32b /mk
parent499a3e2073f8e431d8bd40af422c7a5e782b06f6 (diff)
downloadpkgsrc-c4fe63520c69f883783438f145675ea1c389c5e8.tar.gz
When a pkg is already found install, tell the user to 'make deinstall'
instead of running pkg_delete to be consistent with the other commands (which all use 'make ...').
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 57497928e04..059a58ae4d1 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1370 2004/02/05 03:37:47 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1371 2004/02/05 05:05:54 hubertf Exp $
#
# This file is in the public domain.
#
@@ -2562,7 +2562,7 @@ real-su-install: ${MESSAGE}
if [ "$$found" != "" ]; then \
${ECHO_MSG} "${_PKGSRC_IN}> $$found is already installed - perhaps an older version?"; \
${ECHO_MSG} "*** If so, you may use either of:"; \
- ${ECHO_MSG} "*** - \"pkg_delete $$found\" and \"${MAKE} reinstall\" to upgrade properly"; \
+ ${ECHO_MSG} "*** - \"${MAKE} deinstall\" and \"${MAKE} reinstall\" to upgrade properly"; \
${ECHO_MSG} "*** - \"${MAKE} update\" to rebuild the package and all of its dependencies"; \
${ECHO_MSG} "*** - \"${MAKE} replace\" to replace only the package without re-linking"; \
${ECHO_MSG} "*** dependencies, risking various problems."; \