diff options
author | mcrane <mctch@yahoo.com> | 2010-01-21 04:00:50 -0700 |
---|---|---|
committer | mcrane <mctch@yahoo.com> | 2010-01-21 04:00:50 -0700 |
commit | b728d2fc07ee89b951883bc97c2fe301d5737e06 (patch) | |
tree | 4e7210eec86f5fb839d02ed0bbd5dd5ffafa44d8 /config/vhosts/vhosts.inc | |
parent | 68e03dd2f11573414c9a34841714b60ee393a22f (diff) | |
download | pfsense-packages-b728d2fc07ee89b951883bc97c2fe301d5737e06.tar.gz pfsense-packages-b728d2fc07ee89b951883bc97c2fe301d5737e06.tar.bz2 pfsense-packages-b728d2fc07ee89b951883bc97c2fe301d5737e06.zip |
Remove php5.tar.gz after it is extracted. Also remove lighty-vhosts.conf.
Diffstat (limited to 'config/vhosts/vhosts.inc')
-rw-r--r-- | config/vhosts/vhosts.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/vhosts/vhosts.inc b/config/vhosts/vhosts.inc index cf857d9a..2c982cf4 100644 --- a/config/vhosts/vhosts.inc +++ b/config/vhosts/vhosts.inc @@ -738,6 +738,7 @@ function php_install_command() { chdir('/usr/local/'); exec ("fetch http://www.pfsense.com/packages/config/vhosts/freebsd7.2/php5.tar.gz"); exec("tar zxvf /usr/local/php5.tar.gz -C /usr/local/"); + exec("rm /usr/local/php5.tar.gz"); } if (!file_exists('/usr/local/lib/libxml2.so.5')) { chdir('/usr/local/lib/'); @@ -761,6 +762,7 @@ function php_install_command() { chdir('/usr/local/'); exec ("fetch http://www.pfsense.com/packages/config/vhosts/freebsd8.0/php5.tar.gz"); exec("tar zxvf /usr/local/php5.tar.gz -C /usr/local/"); + exec("rm /usr/local/php5.tar.gz"); } } |