aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-03-20 20:37:02 +0000
committerColin Smith <colin@pfsense.org>2005-03-20 20:37:02 +0000
commitec43b8fc0502c30d555c36eaa3533c73d9bb4d26 (patch)
tree6ddce16f82f8c384a2e14747a3fa3310b924aef1
parentbed9167070d1f3b9735508b963ee1d76702aa9b8 (diff)
downloadpfsense-packages-ec43b8fc0502c30d555c36eaa3533c73d9bb4d26.tar.gz
pfsense-packages-ec43b8fc0502c30d555c36eaa3533c73d9bb4d26.tar.bz2
pfsense-packages-ec43b8fc0502c30d555c36eaa3533c73d9bb4d26.zip
Use PHP functions instead of shelling out.
-rw-r--r--packages/assp.xml6
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 &amp;");
</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>