summaryrefslogtreecommitdiffstats
path: root/src/usr/local/share/pfSense
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-01-21 08:06:43 -0200
committerRenato Botelho <renato@netgate.com>2016-01-21 08:08:11 -0200
commit7d8c9075c895a8bb09efc74fae9de3a0109b06cc (patch)
treebd463eeac7483ea2882a1185269d81c08ff142de /src/usr/local/share/pfSense
parent28ff1645cb33d7fb68516ae3c21ef4bddf139f86 (diff)
downloadpfsense-7d8c9075c895a8bb09efc74fae9de3a0109b06cc.zip
pfsense-7d8c9075c895a8bb09efc74fae9de3a0109b06cc.tar.gz
Remove remaining PBI symlinks not registered in .pbiopt file. If should fix #5221
Diffstat (limited to 'src/usr/local/share/pfSense')
-rw-r--r--src/usr/local/share/pfSense/pre_upgrade_command3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/usr/local/share/pfSense/pre_upgrade_command b/src/usr/local/share/pfSense/pre_upgrade_command
index 59a7e79..8c141a4 100644
--- a/src/usr/local/share/pfSense/pre_upgrade_command
+++ b/src/usr/local/share/pfSense/pre_upgrade_command
@@ -38,6 +38,9 @@ if which pbi_info >/dev/null 2>&1; then
pbi_delete ${pbi}
done
+
+ # Cleanup remaining symbolic links
+ find / -type l -lname '/usr/pbi/*' -delete
fi
# Hack to workaround ticket #3749
OpenPOWER on IntegriCloud