diff options
author | alkos333 <me@alkos333.net> | 2010-05-12 17:44:10 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-12 17:44:10 +0200 |
commit | 83085a75138a02cabc09a50f99f9fb1394ac9324 (patch) | |
tree | 6b75a327c3195a70029830b64be277c4eabc350e /network/privoxy/doinst.sh | |
parent | 8f1d80487b8d9de9c7ee52a62c76b60dc5bb20e5 (diff) |
network/privoxy: Updated for version 3.0.12
Diffstat (limited to 'network/privoxy/doinst.sh')
-rw-r--r-- | network/privoxy/doinst.sh | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/network/privoxy/doinst.sh b/network/privoxy/doinst.sh index 7d29feb84b67a..9187187491dad 100644 --- a/network/privoxy/doinst.sh +++ b/network/privoxy/doinst.sh @@ -1,4 +1,3 @@ -#!/bin/sh config() { NEW="$1" OLD="$(dirname $NEW)/$(basename $NEW .new)" @@ -21,6 +20,14 @@ else chmod 0755 etc/rc.d/rc.privoxy.new fi +# If there's no existing log file, move this one over; +# otherwise, kill the new one +if [ ! -e var/log/privoxy/logfile ]; then + mv var/log/privoxy/logfile.new var/log/privoxy/logfile +else + rm -f var/log/privoxy/logfile.new +fi + config etc/rc.d/rc.privoxy.new config etc/privoxy/templates/cgi-error-bad-param.new config etc/privoxy/templates/cgi-error-disabled.new @@ -57,9 +64,9 @@ config etc/privoxy/templates/edit-actions-for-url-filter.new config etc/privoxy/templates/show-status.new config etc/privoxy/templates/show-url-info.new config etc/privoxy/default.action.new -config etc/privoxy/standard.action.new config etc/privoxy/user.action.new config etc/privoxy/user.filter.new config etc/privoxy/config.new config etc/privoxy/trust.new config etc/privoxy/default.filter.new +config etc/privoxy/match-all.action.new |