From ec43b8fc0502c30d555c36eaa3533c73d9bb4d26 Mon Sep 17 00:00:00 2001 From: Colin Smith Date: Sun, 20 Mar 2005 20:37:02 +0000 Subject: Use PHP functions instead of shelling out. --- packages/assp.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'packages') 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 &"); - 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"); - \ No newline at end of file + -- cgit v1.2.3