aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-01-09 23:37:41 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-01-09 23:37:41 +0000
commit2bd2f079e8bd26c7d539d6874f595c8ad94968fc (patch)
tree8fa79eb1dc6f9d095aecc8010c2608331a637ebf
parent5fe1a6ee5821332d9507c366bdad9f8fa3d64161 (diff)
downloadpfsense-packages-2bd2f079e8bd26c7d539d6874f595c8ad94968fc.tar.gz
pfsense-packages-2bd2f079e8bd26c7d539d6874f595c8ad94968fc.tar.bz2
pfsense-packages-2bd2f079e8bd26c7d539d6874f595c8ad94968fc.zip
* Correctly delete package and its depdencies, leaving a depdency untouched if another package depends on the dependency. Say that 3 times in a row real fast.
* Correctly delete all configuration items for a package upon deletion * Clean up comments
-rw-r--r--packages/pfstat.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/pfstat.xml b/packages/pfstat.xml
index f9dd2d4b..e827d8e2 100644
--- a/packages/pfstat.xml
+++ b/packages/pfstat.xml
@@ -236,8 +236,8 @@
system("/usr/sbin/cron 2>/dev/null");
</custom_php_install_command>
<custom_php_deinstall_command>
- system("rm /usr/local/etc/pfstat*");
- system("rm -rf /usr/local/www/pfstat*");
+ system("rm /usr/local/etc/pfstat 2>/dev/null");
+ system("rm -rf /usr/local/www/pfstat* 2>/dev/null");
</custom_php_deinstall_command>
<!--
<custom_php_install_command>