diff options
author | Renato Botelho <renato@netgate.com> | 2016-01-21 08:04:31 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-01-21 08:08:11 -0200 |
commit | 28ff1645cb33d7fb68516ae3c21ef4bddf139f86 (patch) | |
tree | 111aecddf751d499d218c6e732332608a7760ecb /src | |
parent | 2794ddb451f6304e5781cfa8a7e7b07969941209 (diff) | |
download | pfsense-28ff1645cb33d7fb68516ae3c21ef4bddf139f86.zip pfsense-28ff1645cb33d7fb68516ae3c21ef4bddf139f86.tar.gz |
Make sure code reaches pbi_delete
Diffstat (limited to 'src')
-rw-r--r-- | src/usr/local/share/pfSense/pre_upgrade_command | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/usr/local/share/pfSense/pre_upgrade_command b/src/usr/local/share/pfSense/pre_upgrade_command index d51637e..59a7e79 100644 --- a/src/usr/local/share/pfSense/pre_upgrade_command +++ b/src/usr/local/share/pfSense/pre_upgrade_command @@ -17,9 +17,6 @@ if which pbi_info >/dev/null 2>&1; then for pbi in $(pbi_info); do echo ">>> Removing PBI ${pbi} and all symlinks" pbi_prefix=$(pbi_info ${pbi} | awk '$1 == "Prefix:" { print $2 }') - if [ ! -d "${pbi_prefix}" ]; then - continue - fi for subdir in bin sbin; do if [ ! -d "${pbi_prefix}/${subdir}" ]; then |