diff options
author | jdolecek <jdolecek> | 2000-04-11 16:59:17 +0000 |
---|---|---|
committer | jdolecek <jdolecek> | 2000-04-11 16:59:17 +0000 |
commit | 36cac908355347243837871d511fba08672d65ce (patch) | |
tree | 7bb31f21aa6ca4fe4a88cab3aef6d897d4c4666d /pkglocate | |
parent | 84527132f46bb3924f7b82034b41e0e461ffc556 (diff) | |
download | pkgsrc-36cac908355347243837871d511fba08672d65ce.tar.gz |
fix to really exit if glimpse is not installed
Diffstat (limited to 'pkglocate')
-rwxr-xr-x | pkglocate | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkglocate b/pkglocate index e51c14a7d97..d8ac983fb98 100755 --- a/pkglocate +++ b/pkglocate @@ -1,6 +1,6 @@ #! /bin/sh # -# $NetBSD: pkglocate,v 1.1 2000/02/21 12:38:54 agc Exp $ +# $NetBSD: pkglocate,v 1.2 2000/04/11 16:59:17 jdolecek Exp $ # #- # Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -48,7 +48,7 @@ #set -x -pkg_info -qe 'glimpse-*' || (echo "Please install the textproc/glimpse package first."; exit 1) +pkg_info -qe 'glimpse-*' || (echo "Please install the textproc/glimpse package first."; exit 1) || exit 1 approx="" igncase="" |