diff options
author | abs <abs> | 2001-07-02 15:28:44 +0000 |
---|---|---|
committer | abs <abs> | 2001-07-02 15:28:44 +0000 |
commit | 73929ee2e48f97d61eac6e6aafc5eb0c4bcc7050 (patch) | |
tree | 43a8a9906dc0eef89e92c5d5c4d78782cb04f0b0 /pkgtools | |
parent | b21d31b792c5928f380e0fa7cbbf1cd6cefc71d8 (diff) | |
download | pkgsrc-73929ee2e48f97d61eac6e6aafc5eb0c4bcc7050.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}'`" |