pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Use pkg_admin(1) instead of pkg_delete(1) to manipu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0587a4fa6080
branches:  trunk
changeset: 461424:0587a4fa6080
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Tue Sep 16 11:45:42 2003 +0000

description:
Use pkg_admin(1) instead of pkg_delete(1) to manipulate the file entries in
pkgdb.byfile.db.

diffstat:

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

diffs (18 lines):

diff -r 90d8af7a70f4 -r 0587a4fa6080 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Tue Sep 16 11:40:26 2003 +0000
+++ b/mk/bsd.pkg.mk     Tue Sep 16 11:45:42 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.mk,v 1.1286 2003/09/15 16:14:16 jmmv Exp $
+#      $NetBSD: bsd.pkg.mk,v 1.1287 2003/09/16 11:45:42 jlam Exp $
 #
 # This file is in the public domain.
 #
@@ -4469,7 +4469,7 @@
                ${MKDIR} ${_PKG_DBDIR};                                 \
        fi
 .  if defined(FORCE_PKG_REGISTER)
-       ${_PKG_SILENT}${_PKG_DEBUG}${PKG_DELETE} -O ${PKGNAME}
+       ${_PKG_SILENT}${_PKG_DEBUG}${PKG_ADMIN} delete ${PKGNAME}
 .    if ${PKG_INSTALLATION_TYPE} == "overwrite"
        ${_PKG_SILENT}${_PKG_DEBUG}${RM} -rf ${_PKG_DBDIR}/${PKGNAME}
 .    endif



Home | Main Index | Thread Index | Old Index