diff options
author | abs <abs> | 2001-07-02 15:28:44 +0000 |
---|---|---|
committer | abs <abs> | 2001-07-02 15:28:44 +0000 |
commit | 430be8656b52ee388485f7e5de4a439719d4113a (patch) | |
tree | 43a8a9906dc0eef89e92c5d5c4d78782cb04f0b0 /pkgtools | |
parent | 8fb828f7753e1bfa255e05fadf015793e1dc547c (diff) | |
download | pkgsrc-430be8656b52ee388485f7e5de4a439719d4113a.tar.gz |
Update pkgchk to 1.01 - do not check for pkgchk.conf with -i
noted by Tomasz Luchowski
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkgchk/Makefile | 6 | ||||
-rwxr-xr-x | pkgtools/pkgchk/files/pkgchk.sh | 12 |
2 files changed, 10 insertions, 8 deletions
diff --git a/pkgtools/pkgchk/Makefile b/pkgtools/pkgchk/Makefile index 7e4d4579d0f..97b9edbb323 100644 --- a/pkgtools/pkgchk/Makefile +++ b/pkgtools/pkgchk/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.1.1.1 2001/07/02 14:12:29 abs Exp $ +# $NetBSD: Makefile,v 1.2 2001/07/02 15:28:44 abs Exp $ # -DISTNAME= pkgchk-1.00 -CATEGORIES= pkgtools devel +DISTNAME= pkgchk-1.01 +CATEGORIES= pkgtools MASTER_SITES= # empty DISTFILES= # empty diff --git a/pkgtools/pkgchk/files/pkgchk.sh b/pkgtools/pkgchk/files/pkgchk.sh index 68011dd3d6e..4f8bd5bf9f5 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.1.1.1 2001/07/02 14:12:30 abs Exp $ +# $Id: pkgchk.sh,v 1.2 2001/07/02 15:28:44 abs Exp $ extract_variables() { @@ -34,10 +34,6 @@ extract_variables() if [ -z "$PKGCHK_CONF" ];then PKGCHK_CONF=$PKGSRCDIR/pkgchk.conf fi - if [ ! -r $PKGCHK_CONF ];then - echo "Unable to read PKGCHK_CONF '$PKGCHK_CONF'" - exit 1; - fi } pkg_install() @@ -122,6 +118,12 @@ if [ -n "$opt_i" ];then fi if [ -n "$opt_c" ];then + + if [ ! -r $PKGCHK_CONF ];then + echo "Unable to read PKGCHK_CONF '$PKGCHK_CONF'" + exit 1; + fi + # Determine list of tags # TAGS="`hostname -s`,`hostname`,`uname -srm | awk '{print $1"-"$2"-"$3","$1"-"$2","$1"-"$3","$1","$2","$3}'`" |