summaryrefslogtreecommitdiff
path: root/mk/bulk
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2000-08-04 03:24:33 +0000
committerhubertf <hubertf@pkgsrc.org>2000-08-04 03:24:33 +0000
commit71fc3022309f465b05df92bd5ea42a1bb6ac79ac (patch)
treeb228406261e7128b63aab081318bd010481d9c28 /mk/bulk
parent9fa65f3fe29976e7ec5c68793081bca91cf479df (diff)
downloadpkgsrc-71fc3022309f465b05df92bd5ea42a1bb6ac79ac.tar.gz
Suppress any errors from pkg_delete if no pkgs are installed
Diffstat (limited to 'mk/bulk')
-rw-r--r--mk/bulk/bsd.bulk-pkg.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/bulk/bsd.bulk-pkg.mk b/mk/bulk/bsd.bulk-pkg.mk
index 29c464ce095..4963e3eefa9 100644
--- a/mk/bulk/bsd.bulk-pkg.mk
+++ b/mk/bulk/bsd.bulk-pkg.mk
@@ -1,4 +1,4 @@
-# $Id: bsd.bulk-pkg.mk,v 1.5 2000/08/01 21:19:21 dmcmahill Exp $
+# $Id: bsd.bulk-pkg.mk,v 1.6 2000/08/04 03:24:33 hubertf Exp $
#
# Copyright (c) 1999, 2000 Hubert Feyrer <hubertf@netbsd.org>
@@ -165,6 +165,8 @@ bulk-package:
if [ "${KEEP}" = "no" ]; then \
${ECHO_MSG} ${MAKE} deinstall DEINSTALLDEPENDS=YES ; \
${DO} ${MAKE} deinstall DEINSTALLDEPENDS=YES ; \
+ ${ECHO_MSG} ${PKG_DELETE} -rR \* ; \
+ ${DO} ${PKG_DELETE} -rR \* >/dev/null 2>&1 || ${TRUE} ; \
fi ; \
fi
@if [ ! -f ${PKGFILE} ]; then \