summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2003-09-16 11:45:42 +0000
committerjlam <jlam@pkgsrc.org>2003-09-16 11:45:42 +0000
commitce1342962cebcf7bb61af3f11f7f05379b6ffecf (patch)
tree113c4e23e91d5747c89def028af65afb5955c5cf /mk/bsd.pkg.mk
parent6ae45abdbce5d834371d84907baee1c1e85d0072 (diff)
downloadpkgsrc-ce1342962cebcf7bb61af3f11f7f05379b6ffecf.tar.gz
Use pkg_admin(1) instead of pkg_delete(1) to manipulate the file entries in
pkgdb.byfile.db.
Diffstat (limited to 'mk/bsd.pkg.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 42fe12edb95..9b8729a868d 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -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 @@ fake-pkg: ${PLIST} ${DESCR} ${MESSAGE}
${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