summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2004-02-05 05:05:54 +0000
committerhubertf <hubertf@pkgsrc.org>2004-02-05 05:05:54 +0000
commitf3d1d8cfb0f2a3d26dc60f5cfbaa917b45790f02 (patch)
tree9fcc77f9f1dcef5329efdc47a42b23c90d83a32b
parent5add53c2b4dc4effa0f9feb0a611d9c7e1352bb6 (diff)
downloadpkgsrc-f3d1d8cfb0f2a3d26dc60f5cfbaa917b45790f02.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 ...').
-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."; \