aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAndrew Thompson <andrewt@catalyst.net.nz>2012-02-22 10:39:39 +1300
committerAndrew Thompson <andrewt@catalyst.net.nz>2012-02-22 10:39:39 +1300
commit8c8456dd49239cde8797c5f2b23e501784b37975 (patch)
tree1d55f4fda5c6183cd0beab29ccbd52eceeac06bf /config
parent37241fd4df0564f16449584e3a14733e4a0929cf (diff)
downloadpfsense-packages-8c8456dd49239cde8797c5f2b23e501784b37975.tar.gz
pfsense-packages-8c8456dd49239cde8797c5f2b23e501784b37975.tar.bz2
pfsense-packages-8c8456dd49239cde8797c5f2b23e501784b37975.zip
remove the haproxy package on reinstall
Diffstat (limited to 'config')
-rw-r--r--config/haproxy/haproxy.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/haproxy/haproxy.inc b/config/haproxy/haproxy.inc
index 72d9535d..16c7af97 100644
--- a/config/haproxy/haproxy.inc
+++ b/config/haproxy/haproxy.inc
@@ -59,7 +59,7 @@ $a_acltypes[] = array('name' => 'source_ip', 'descr' => 'Source IP',
'mode' => '', 'syntax' => 'src');
function haproxy_custom_php_deinstall_command() {
- exec("rm /usr/local/sbin/haproxy");
+ exec("cd /var/db/pkg && pkg_delete `ls | grep haproxy`");
exec("rm /usr/local/pkg/haproxy.inc");
exec("rm /usr/local/www/haproxy*");
exec("rm /usr/local/etc/rc.d/haproxy.sh");