diff options
author | Colin Smith <colin@pfsense.org> | 2005-03-21 03:53:42 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-03-21 03:53:42 +0000 |
commit | 1edd830d8e1dcf41b9f9426e27c387c7b0616f22 (patch) | |
tree | 7480163a54f220c25f5cf37fa6ffbab0b66d5081 /packages | |
parent | 82935b7c742aed92cfc643f3fdd6b21b4fb7e883 (diff) | |
download | pfsense-packages-1edd830d8e1dcf41b9f9426e27c387c7b0616f22.tar.gz pfsense-packages-1edd830d8e1dcf41b9f9426e27c387c7b0616f22.tar.bz2 pfsense-packages-1edd830d8e1dcf41b9f9426e27c387c7b0616f22.zip |
Use PHP functions for deletion.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/carp.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/carp.xml b/packages/carp.xml index d601b789..fb95aa3b 100644 --- a/packages/carp.xml +++ b/packages/carp.xml @@ -276,9 +276,9 @@ <custom_php_install_command> </custom_php_install_command> <custom_php_deinstall_command> - system("/bin/rm /usr/local/www/carp* 2>/dev/null"); - system("/bin/rm /usr/local/pkg/carp* 2>/dev/null"); - system("/bin/rm /usr/local/pkg/pf/carp* 2>/dev/null"); - system("/bin/rm /usr/local/etc/rc.d/carp* 2>/dev/null"); + unlink_if_exists("/usr/local/www/carp*"); + unlink_if_exists("/usr/local/pkg/carp*"); + unlink_if_exists("/usr/local/pkg/pf/carp*"); + unlink_if_exists("/usr/local/etc/rc.d/carp*"); </custom_php_deinstall_command> </packagegui> |