diff options
| author | Roland 'Quix0r' Haeder <roland@mxchange.org> | 2012-07-10 13:08:16 +0200 |
|---|---|---|
| committer | orbiter <mc@yacy.net> | 2012-07-10 13:08:16 +0200 |
| commit | aef9dd0350656dec42b57dc826e5707c956fcba6 (patch) | |
| tree | 22cc3aa9a9abd894b8e37cdc5ac41a68ed4b5c18 /bin | |
| parent | c7afa8bc4878beb5bcde977104138f7d57f0e57c (diff) | |
- removed cleaning of blacklist cache on startup
- added cleaning of blacklist cache if cache is modified in interface
- extended cache saving to all cache types
- moved cache location to DATA/LISTS
- fixed static file path which was relative to the application path but
should be relative to data path - which is different in debian and mac
implementations
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/localsearch.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/localsearch.sh b/bin/localsearch.sh index 50b737616..8acf586ba 100755 --- a/bin/localsearch.sh +++ b/bin/localsearch.sh @@ -2,9 +2,9 @@ cd "`dirname $0`" port=$(grep ^port= ../DATA/SETTINGS/yacy.conf |cut -d= -f2) if which curl &>/dev/null; then - curl -s "http://localhost:$port/yacysearch.rss?resource=local&verify=ifexist&query=$1" | awk '/^<link>/{ gsub("<link>","" );gsub("<\/link>","" ); print $0 }' + curl -s "http://localhost:$port/yacysearch.rss?resource=local&verify=false&query=$1" | awk '/^<link>/{ gsub("<link>","" );gsub("<\/link>","" ); print $0 }' elif which wget &>/dev/null; then - wget -q -O - "http://localhost:$port/yacysearch.rss?resource=local&verify=ifexist&query=$1" | awk '/^<link>/{ gsub("<link>","" );gsub("<\/link>","" ); print $0 }' + wget -q -O - "http://localhost:$port/yacysearch.rss?resource=local&verify=false&query=$1" | awk '/^<link>/{ gsub("<link>","" );gsub("<\/link>","" ); print $0 }' else echo "Neither curl nor wget installed!" exit 1 |
