aboutsummaryrefslogtreecommitdiffstats
path: root/packages/powerdns.xml
diff options
context:
space:
mode:
Diffstat (limited to 'packages/powerdns.xml')
-rw-r--r--packages/powerdns.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/powerdns.xml b/packages/powerdns.xml
index 5820c41c..fc663821 100644
--- a/packages/powerdns.xml
+++ b/packages/powerdns.xml
@@ -61,7 +61,7 @@
</fields>
<custom_php_deinstall_command>
system("/usr/local/bin/pg_ctl -m immediate");
- system("rm -rf /usr/local/pgsql");
+ rmdir_recursive("/usr/local/pgsql");
system("/usr/sbin/pw userdel pgsql");
system("/usr/bin/killall -9 postgres");
echo "&lt;p&gt;";