aboutsummaryrefslogtreecommitdiffstats
path: root/packages/hula.xml
diff options
context:
space:
mode:
Diffstat (limited to 'packages/hula.xml')
-rw-r--r--packages/hula.xml7
1 files changed, 3 insertions, 4 deletions
diff --git a/packages/hula.xml b/packages/hula.xml
index b76ddacb..b945e023 100644
--- a/packages/hula.xml
+++ b/packages/hula.xml
@@ -47,12 +47,11 @@
config_unlock();
</custom_add_php_command>
<custom_php_deinstall_command>
- system("/usr/bin/killall -9 hulamanager");
- system("rm -rf /usr/local/hula");
- system("rm /usr/local/etc/rc.d/hula.sh");
+ mwexec("/usr/bin/killall -9 hulamanager");
+ rmdir_recursive("/usr/local/hula");
+ unlink_if_exists("/usr/local/etc/rc.d/hula.sh");
</custom_php_deinstall_command>
<custom_php_install_command>
- system("rm /usr/local/etc/rc.d/hula.sh");
$fout = fopen("/usr/local/etc/rc.d/hula.sh","w");
fwrite($fout, "#!/bin/sh\n\n");
fwrite($fout, "/sbin/mount -t linprocfs linprocfs /proc\n");