diff options
author | Colin Smith <colin@pfsense.org> | 2005-03-20 20:37:02 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-03-20 20:37:02 +0000 |
commit | ec43b8fc0502c30d555c36eaa3533c73d9bb4d26 (patch) | |
tree | 6ddce16f82f8c384a2e14747a3fa3310b924aef1 /packages | |
parent | bed9167070d1f3b9735508b963ee1d76702aa9b8 (diff) | |
download | pfsense-packages-ec43b8fc0502c30d555c36eaa3533c73d9bb4d26.tar.gz pfsense-packages-ec43b8fc0502c30d555c36eaa3533c73d9bb4d26.tar.bz2 pfsense-packages-ec43b8fc0502c30d555c36eaa3533c73d9bb4d26.zip |
Use PHP functions instead of shelling out.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/assp.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/assp.xml b/packages/assp.xml index 1aa35272..4e4cc14f 100644 --- a/packages/assp.xml +++ b/packages/assp.xml @@ -24,7 +24,7 @@ system("/usr/local/etc/rc.d/assp.sh &"); </custom_php_install_command> <custom_php_deinstall_command> - system("rm -rf /usr/local/assp"); - system("rm /usr/local/etc/rc.d/assp.sh"); + rmdir_recursive("/usr/local/assp"); + unlink_if_exists("/usr/local/etc/rc.d/assp.sh"); </custom_php_deinstall_command> -</packagegui>
\ No newline at end of file +</packagegui> |