diff options
author | jim-p <jimp@pfsense.org> | 2015-01-09 15:10:30 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2015-01-09 15:11:30 -0500 |
commit | 331942e176ae5e366a08e799b5254d970585e3c7 (patch) | |
tree | 9da930b3a6179fcccfb40b1bc039b075098efe49 /config/squidGuard | |
parent | 71af7113ef6c3ce5baf07a880585da305cf26280 (diff) | |
download | pfsense-packages-331942e176ae5e366a08e799b5254d970585e3c7.tar.gz pfsense-packages-331942e176ae5e366a08e799b5254d970585e3c7.tar.bz2 pfsense-packages-331942e176ae5e366a08e799b5254d970585e3c7.zip |
Fix incorrect command
Diffstat (limited to 'config/squidGuard')
-rw-r--r-- | config/squidGuard/squidguard.xml | 2 | ||||
-rw-r--r-- | config/squidGuard/squidguard_configurator.inc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/config/squidGuard/squidguard.xml b/config/squidGuard/squidguard.xml index a41507a7..3a77edf3 100644 --- a/config/squidGuard/squidguard.xml +++ b/config/squidGuard/squidguard.xml @@ -6,7 +6,7 @@ <requirements>Describe your package requirements here</requirements> <faq>Currently there are no FAQ items provided.</faq> <name>squidguardgeneral</name> - <version>1.4_4 pkg v.1.9.7</version> + <version>1.4_4 pkg v.1.9.8</version> <title>Proxy filter SquidGuard: General settings</title> <include_file>/usr/local/pkg/squidguard.inc</include_file> <!-- Installation --> diff --git a/config/squidGuard/squidguard_configurator.inc b/config/squidGuard/squidguard_configurator.inc index f065e4cb..d3448c5d 100644 --- a/config/squidGuard/squidguard_configurator.inc +++ b/config/squidGuard/squidguard_configurator.inc @@ -2221,7 +2221,7 @@ function sg_update_blacklist($from_file) # if $current_dbpath exists, then $val['path'] will created as subdir - !it's worng! if (file_exists($current_dbpath)) mwexec("/bin/rm -R {$current_dbpath}"); - mwexec("/usr/bin/tar -f {$val['path']}/ {$current_dbpath}"); + mwexec("/bin/mv -f {$val['path']}/ {$current_dbpath}"); sg_addlog("sg_update_blacklist", "Move {$val['path']}/ -> {$current_dbpath}.", SQUIDGUARD_INFO); } } |