From 28ff1645cb33d7fb68516ae3c21ef4bddf139f86 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Thu, 21 Jan 2016 08:04:31 -0200 Subject: Make sure code reaches pbi_delete --- src/usr/local/share/pfSense/pre_upgrade_command | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/usr') 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 -- cgit v1.1