pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk When a pkg is already found install, tell the user ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3eef67283c39
branches:  trunk
changeset: 467684:3eef67283c39
user:      hubertf <hubertf%pkgsrc.org@localhost>
date:      Thu Feb 05 05:05:54 2004 +0000

description:
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:

 mk/bsd.pkg.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 7e21de720a93 -r 3eef67283c39 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Thu Feb 05 04:12:28 2004 +0000
+++ b/mk/bsd.pkg.mk     Thu Feb 05 05:05:54 2004 +0000
@@ -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 @@
        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."; \



Home | Main Index | Thread Index | Old Index