diff options
author | ache <ache@FreeBSD.org> | 1998-11-03 16:48:35 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1998-11-03 16:48:35 +0800 |
commit | 6a68922960c17a03f4f8dcc7903d9a560b2288f4 (patch) | |
tree | 370b57ac6d25dd4a26b0c01d6f7c400e53dc67d5 /www/webglimpse | |
parent | e68627f648b0f0109c5d8932a70e82136f65ea6b (diff) | |
download | freebsd-ports-graphics-6a68922960c17a03f4f8dcc7903d9a560b2288f4.tar.gz freebsd-ports-graphics-6a68922960c17a03f4f8dcc7903d9a560b2288f4.tar.zst freebsd-ports-graphics-6a68922960c17a03f4f8dcc7903d9a560b2288f4.zip |
Do not print No search diagnostic if -q
Diffstat (limited to 'www/webglimpse')
-rw-r--r-- | www/webglimpse/files/patch-ai | 11 | ||||
-rw-r--r-- | www/webglimpse/files/patch-aq | 21 |
2 files changed, 25 insertions, 7 deletions
diff --git a/www/webglimpse/files/patch-ai b/www/webglimpse/files/patch-ai index 8ead9c100aa..45d1cf5f1aa 100644 --- a/www/webglimpse/files/patch-ai +++ b/www/webglimpse/files/patch-ai @@ -1,5 +1,5 @@ --- addsearch.orig Thu Jul 2 03:02:53 1998 -+++ addsearch Mon Nov 2 14:51:28 1998 ++++ addsearch Tue Nov 3 11:36:24 1998 @@ -121,12 +121,12 @@ # Initialize variables to avoid warnings @@ -16,3 +16,12 @@ ### HUH? What does this code do? Can we remove it? ### here just in case. +@@ -155,7 +155,7 @@ + + # if we don't have to addboxes, just abort! + if($addboxes==0) { +- print "No search boxes used\n"; ++ print "No search boxes used\n" if (!$quiet); + exit(0); + } + diff --git a/www/webglimpse/files/patch-aq b/www/webglimpse/files/patch-aq index 655553f72e3..7bff7c53acb 100644 --- a/www/webglimpse/files/patch-aq +++ b/www/webglimpse/files/patch-aq @@ -1,5 +1,5 @@ ---- makecron.bak Mon Jan 26 00:27:25 1998 -+++ makecron Mon Nov 2 18:20:39 1998 +--- makecron.orig Mon Jan 26 00:27:25 1998 ++++ makecron Tue Nov 3 11:43:57 1998 @@ -37,6 +37,7 @@ # Get command-line options $indexdir = $ARGV[0]; @@ -8,14 +8,23 @@ # lock file $LOCKFILE = "indexing-in-progress"; -@@ -104,6 +105,10 @@ - print OUT "#!$SHELL\n\n"; +@@ -105,6 +106,10 @@ print OUT "# CRONFILE FOR ARCHIVE IN DIRECTORY $indexdir\n\n"; -+ + +if (defined($locale) && $locale ne '') { + print OUT "LANG=$locale; export LANG\n"; +} - ++ print OUT ('quiet=""',"\n"); print OUT ('if [ "$1" = "-q" ] ; then',"\n"); + print OUT (' quiet="-q"',"\n"); +@@ -121,7 +126,7 @@ + + print OUT "# put the search box in the html files -- will check config file\n"; + print OUT "# and will not do anything if not wanted\n"; +-print OUT "$ADDSEARCH $indexdir\n\n"; ++print OUT "$ADDSEARCH $indexdir \$quiet\n\n"; + + print OUT "# Do the indexing\n"; + $command = "$CAT $indexdir/$TOINDEX | ". |