diff options
author | dmcmahill <dmcmahill> | 2001-02-15 20:13:28 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2001-02-15 20:13:28 +0000 |
commit | c3841e192b25bbab5217b970845a6f176fcac435 (patch) | |
tree | bbe30e37258ed10e77d9739acb3aa86111242571 /mk | |
parent | 5229f6fc760e23d33c05c568461804782589d312 (diff) | |
download | pkgsrc-c3841e192b25bbab5217b970845a6f176fcac435.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')
-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" ;\ |