aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-13 21:10:29 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-13 21:10:29 +0000
commit2720e79afd5bb7af53a08223a54c5f6e56132a97 (patch)
tree798f5a30fc0474c3660497d7d96bcb9cabc620f7
parenta4df57f623170025b6245f454d51bd237e46e2a1 (diff)
downloadpfsense-packages-2720e79afd5bb7af53a08223a54c5f6e56132a97.tar.gz
pfsense-packages-2720e79afd5bb7af53a08223a54c5f6e56132a97.tar.bz2
pfsense-packages-2720e79afd5bb7af53a08223a54c5f6e56132a97.zip
Escape sed variables so php doesnt try to convert them.
-rw-r--r--packages/squidGuard.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/squidGuard.xml b/packages/squidGuard.xml
index 43ed3c3a..0e896828 100644
--- a/packages/squidGuard.xml
+++ b/packages/squidGuard.xml
@@ -33,9 +33,9 @@
<custom_php_pre_deinstall_command>
</custom_php_pre_deinstall_command>
<custom_php_deinstall_command>
- mwexec("/usr/bin/sed '$d' /usr/local/etc/squid/squid.conf > /tmp/squidtmp.conf");
+ mwexec("/usr/bin/sed '\$d' /usr/local/etc/squid/squid.conf > /tmp/squidtmp.conf");
mwexec("/bin/cp /tmp/squidtmp.conf /usr/local/etc/squid/squid.conf");
- mwexec("/usr/bin/sed '$d' /usr/local/etc/squid/squid.conf > /tmp/squidtmp.conf");
+ mwexec("/usr/bin/sed '\$d' /usr/local/etc/squid/squid.conf > /tmp/squidtmp.conf");
mwexec("/bin/cp /tmp/squidtmp.conf /usr/local/etc/squid/squid.conf");
mwexec("/bin/rm /tmp/squidtmp.conf");
mwexec("/bin/rm -rf /var/db/squidGuard");