Updated pkgchk to 1.23

Do not abort if pkg_delete returns non zero exit status in '-Br'
This commit is contained in:
abs 2001-12-31 13:58:29 +00:00
parent ca3533883a
commit a2dd9aca88
2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.23 2001/12/27 19:45:01 abs Exp $
# $NetBSD: Makefile,v 1.24 2001/12/31 13:58:29 abs Exp $
DISTNAME= pkgchk-1.22
DISTNAME= pkgchk-1.23
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty

View file

@ -1,6 +1,6 @@
#!/bin/sh -e
#
# $Id: pkgchk.sh,v 1.25 2001/12/27 19:45:01 abs Exp $
# $Id: pkgchk.sh,v 1.26 2001/12/31 13:58:29 abs Exp $
#
# TODO: Handle updates with dependencies via binary packages
@ -377,7 +377,7 @@ fi
check_packages_installed $PKGDIRLIST
if [ -n "$opt_r" -a -n "$MISMATCH_TODO" ]; then
run_cmd "pkg_delete -r $MISMATCH_TODO"
run_cmd "pkg_delete -r $MISMATCH_TODO" 1
if [ -n "$opt_a" ] ; then
echo "[ Rechecking packages after deletions ]"
check_packages_installed $PKGDIRLIST # May need to add more packages