aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-01-25 03:32:07 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-01-25 03:32:07 +0000
commit39ad1c1c12fcc814961342eed40dc9a0164568b4 (patch)
treedf2942ff9bddd1952f05d96936b69ae2e0866c23
parentb95f641ed9819669a47ac05bb6954f870770e769 (diff)
downloadpfsense-packages-39ad1c1c12fcc814961342eed40dc9a0164568b4.tar.gz
pfsense-packages-39ad1c1c12fcc814961342eed40dc9a0164568b4.tar.bz2
pfsense-packages-39ad1c1c12fcc814961342eed40dc9a0164568b4.zip
Don't remove squid directory, it breaks pkg_delete
-rw-r--r--packages/squid_ng.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/squid_ng.inc b/packages/squid_ng.inc
index 91f39776..cb17e94c 100644
--- a/packages/squid_ng.inc
+++ b/packages/squid_ng.inc
@@ -893,9 +893,7 @@ function custom_php_deinstall_command() {
mwexec("/usr/bin/killall pinger");
update_output_window("Recursively removing directories hierarchies...");
update_output_window("If existant, log files in /var/squid/logs will remain...");
- mwexec("rm -rf /usr/local/squid");
- mwexec("rm -rf /var/squid/cache");
- mwexec("rm -rf /usr/local/etc/squid");
+ mwexec("rm -rf /var/squid/cache");
update_output_window("Removing configuration files...");
unlink_if_exists("/usr/local/etc/rc.d/squid.sh");
unlink_if_exists("/usr/local/etc/squid");