aboutsummaryrefslogtreecommitdiffstats
path: root/config/vhosts
diff options
context:
space:
mode:
authormcrane <mctch@yahoo.com>2010-01-21 04:10:16 -0700
committermcrane <mctch@yahoo.com>2010-01-21 04:10:16 -0700
commitb7841f9a7710462a900bbe89d55566f29de62462 (patch)
treedfbe9c60d427731b445e445fd5100231d51e1e1a /config/vhosts
parentb728d2fc07ee89b951883bc97c2fe301d5737e06 (diff)
downloadpfsense-packages-b7841f9a7710462a900bbe89d55566f29de62462.tar.gz
pfsense-packages-b7841f9a7710462a900bbe89d55566f29de62462.tar.bz2
pfsense-packages-b7841f9a7710462a900bbe89d55566f29de62462.zip
vhosts improve the uninstall so that /usr/local/www/packages/vhosts directory is deleted correctly.
Diffstat (limited to 'config/vhosts')
-rw-r--r--config/vhosts/vhosts.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/vhosts/vhosts.inc b/config/vhosts/vhosts.inc
index 2c982cf4..7cbdbdb8 100644
--- a/config/vhosts/vhosts.inc
+++ b/config/vhosts/vhosts.inc
@@ -811,6 +811,7 @@ function deinstall_command()
unlink_if_exists("/usr/local/etc/rc.d/vhosts-http.sh");
exec ("rm /usr/local/etc/rc.d/vhosts*");
exec ("rm /var/etc/vhosts*");
+ exec("rm -R /usr/local/www/packages/vhosts");
exec("rm -R /usr/local/php5");
conf_mount_ro();
config_unlock();