Merge pull request #43550 from twangboy/osx_fix_preinstall_2016.11.8

Fix preinstall script on OSX for 2016.11.8
This commit is contained in:
Mike Place 2017-09-18 12:34:11 -06:00 committed by GitHub
commit e83421694f

View file

@ -129,7 +129,7 @@ fi
###############################################################################
# Remove the salt from the paths.d
###############################################################################
if [ ! -f "/etc/paths.d/salt" ]; then
if [ -f "/etc/paths.d/salt" ]; then
echo "Path: Removing salt from the path..." >> "$TEMP_DIR/preinstall.txt"
rm "/etc/paths.d/salt"
echo "Path: Removed Successfully" >> "$TEMP_DIR/preinstall.txt"