From be7bb13fd1ec371fe01d5c84792981e5a96971f1 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 13 Oct 2009 22:21:02 -0400 Subject: Add more install deinstall routines --- config/haproxy/haproxy.inc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'config/haproxy/haproxy.inc') diff --git a/config/haproxy/haproxy.inc b/config/haproxy/haproxy.inc index 88fa01e1..bb5886ff 100644 --- a/config/haproxy/haproxy.inc +++ b/config/haproxy/haproxy.inc @@ -33,6 +33,12 @@ require_once("notices.inc"); $d_haproxyconfdirty_path = $g['varrun_path'] . "/haproxy.conf.dirty"; +function haproxy_custom_php_deinstall_command() { + exec("rm /usr/local/sbin/haproxy"); + exec("rm /usr/local/pkg/haproxy.inc"); + exec("rm /usr/local/www/haproxy*"); +} + function haproxy_custom_php_install_command() { global $g, $config; conf_mount_rw(); -- cgit v1.2.3