summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-12-28 14:27:42 -0200
committerRenato Botelho <renato@netgate.com>2015-12-28 14:27:42 -0200
commit92c2bd7f56edbaab1e5e50077178bc52d764a657 (patch)
tree9c0bd3bfcaa530a346f37a4d8465b9b5e849b8fc
parenta0790c8678e28a168b12c5118b82521aec1bd278 (diff)
downloadpfsense-92c2bd7f56edbaab1e5e50077178bc52d764a657.zip
pfsense-92c2bd7f56edbaab1e5e50077178bc52d764a657.tar.gz
Revert "Delete package XML only on post-deinstall, otherwise it'll do it twice"
This reverts commit 92b3ac622cc3789ca00b625052621f0dc4262f1f.
-rwxr-xr-xsrc/etc/rc.packages1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/etc/rc.packages b/src/etc/rc.packages
index 3fe08b9..f4ec045 100755
--- a/src/etc/rc.packages
+++ b/src/etc/rc.packages
@@ -76,6 +76,7 @@ switch ($when) {
case "post-install":
install_package_xml($pkg);
break;
+ case "deinstall":
case "post-deinstall":
delete_package_xml($pkg, $when);
break;
OpenPOWER on IntegriCloud