diff options
author | dmcmahill <dmcmahill> | 2001-02-15 20:13:28 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2001-02-15 20:13:28 +0000 |
commit | 0a08581454d47d74acca68ce3a608938423305cf (patch) | |
tree | bbe30e37258ed10e77d9739acb3aa86111242571 /mk/bulk | |
parent | 11c6d734aa4aaf39ae28a0d08e28ea86a560f907 (diff) | |
download | pkgsrc-0a08581454d47d74acca68ce3a608938423305cf.tar.gz |
when removing out of date binary packages from ${PACKAGES}/All, also remove
the links from the package category subdirectories so we don't leave bad
links around.
Diffstat (limited to 'mk/bulk')
-rw-r--r-- | mk/bulk/bsd.bulk-pkg.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/bulk/bsd.bulk-pkg.mk b/mk/bulk/bsd.bulk-pkg.mk index 795fc4c30f8..903ace6e101 100644 --- a/mk/bulk/bsd.bulk-pkg.mk +++ b/mk/bulk/bsd.bulk-pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.bulk-pkg.mk,v 1.19 2001/02/13 23:02:23 dmcmahill Exp $ +# $NetBSD: bsd.bulk-pkg.mk,v 1.20 2001/02/15 20:13:28 dmcmahill Exp $ # # Copyright (c) 1999, 2000 Hubert Feyrer <hubertf@netbsd.org> @@ -183,6 +183,11 @@ bulk-package: ${ECHO_MSG} "BULK> Removing old binary package..." ; \ ${ECHO_MSG} ${RM} -f ${PKGFILE} ; \ ${DO} ${RM} -f ${PKGFILE} ; \ + for cat in ${CATEGORIES} ;\ + do \ + ${ECHO_MSG} ${RM} -f ${PACKAGES}/$$cat/${PKGNAME}${PKG_SUFX}; \ + ${DO} ${RM} -f ${PACKAGES}/$$cat/${PKGNAME}${PKG_SUFX}; \ + done ;\ fi; \ ${ECHO_MSG} "BULK> Full rebuild in progress..." ; \ ${ECHO_MSG} "BULK> Cleaning package and its depends" ;\ |