diff options
author | abs <abs> | 2001-07-09 14:57:17 +0000 |
---|---|---|
committer | abs <abs> | 2001-07-09 14:57:17 +0000 |
commit | 09fc957524187ab0239eccd0357fdd3fb4a0fafe (patch) | |
tree | b24595f02827a46e74fb7f1ffca17fdeb711a1d7 /pkgtools | |
parent | c9c2506e05b31ddaa62a96337de681d708515c3d (diff) | |
download | pkgsrc-09fc957524187ab0239eccd0357fdd3fb4a0fafe.tar.gz |
Update pkgchk to 1.05
Ensure -u works for packages which have more than one package depending
upon them.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkgchk/Makefile | 4 | ||||
-rwxr-xr-x | pkgtools/pkgchk/files/pkgchk.sh | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgtools/pkgchk/Makefile b/pkgtools/pkgchk/Makefile index 47be1742a95..9c6dd1f7f96 100644 --- a/pkgtools/pkgchk/Makefile +++ b/pkgtools/pkgchk/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.5 2001/07/08 23:15:53 abs Exp $ +# $NetBSD: Makefile,v 1.6 2001/07/09 14:57:17 abs Exp $ # -DISTNAME= pkgchk-1.04 +DISTNAME= pkgchk-1.05 CATEGORIES= pkgtools MASTER_SITES= # empty DISTFILES= # empty diff --git a/pkgtools/pkgchk/files/pkgchk.sh b/pkgtools/pkgchk/files/pkgchk.sh index cae815e6531..56b5efc9012 100755 --- a/pkgtools/pkgchk/files/pkgchk.sh +++ b/pkgtools/pkgchk/files/pkgchk.sh @@ -1,6 +1,6 @@ #!/bin/sh -e # -# $Id: pkgchk.sh,v 1.5 2001/07/08 23:15:53 abs Exp $ +# $Id: pkgchk.sh,v 1.6 2001/07/09 14:57:17 abs Exp $ # # TODO: Handle and as well as or tags (eg: i386+x11) # TODO: Order updates based on DEPENDENCIES. @@ -238,7 +238,7 @@ if [ -n "$UPDATE_TODO" ];then while [ $# != 0 ]; do PKGNAME=`echo $1 | sed 's/-[0-9].*//'` if [ -f /var/db/pkg/$PKGNAME-[0-9]*/+REQUIRED_BY ];then - LIST="$LIST$1|$2|`cat /var/db/pkg/$PKGNAME-[0-9]*/+REQUIRED_BY`\n" + LIST="$LIST$1|$2|`cat /var/db/pkg/$PKGNAME-[0-9]*/+REQUIRED_BY | xargs echo`\n" else LIST="$LIST$1|$2\n" fi |