diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 1998-11-03 08:48:35 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 1998-11-03 08:48:35 +0000 |
commit | 5418bf8fdff6707e6839157fdd29c07454d48484 (patch) | |
tree | 34d6a62bc460c91e3db1b5462f48ec9a19b3a29f /www | |
parent | minor tweaks (diff) |
Do not print No search diagnostic if -q
Notes
Notes:
svn path=/head/; revision=14327
Diffstat (limited to 'www')
-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 8ead9c100aa5..45d1cf5f1aa0 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 655553f72e3b..7bff7c53acb8 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 | ". |