diff options
author | Renato Botelho <renato@netgate.com> | 2016-01-21 08:06:43 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-01-21 08:08:11 -0200 |
commit | 7d8c9075c895a8bb09efc74fae9de3a0109b06cc (patch) | |
tree | bd463eeac7483ea2882a1185269d81c08ff142de /src | |
parent | 28ff1645cb33d7fb68516ae3c21ef4bddf139f86 (diff) | |
download | pfsense-7d8c9075c895a8bb09efc74fae9de3a0109b06cc.zip pfsense-7d8c9075c895a8bb09efc74fae9de3a0109b06cc.tar.gz |
Remove remaining PBI symlinks not registered in .pbiopt file. If should fix #5221
Diffstat (limited to 'src')
-rw-r--r-- | src/usr/local/share/pfSense/pre_upgrade_command | 3 |
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 |