summaryrefslogtreecommitdiff
path: root/pkglocate
diff options
context:
space:
mode:
authorjdolecek <jdolecek>2000-04-11 16:59:17 +0000
committerjdolecek <jdolecek>2000-04-11 16:59:17 +0000
commit36cac908355347243837871d511fba08672d65ce (patch)
tree7bb31f21aa6ca4fe4a88cab3aef6d897d4c4666d /pkglocate
parent84527132f46bb3924f7b82034b41e0e461ffc556 (diff)
downloadpkgsrc-36cac908355347243837871d511fba08672d65ce.tar.gz
fix to really exit if glimpse is not installed
Diffstat (limited to 'pkglocate')
-rwxr-xr-xpkglocate4
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=""