Merge pull request #43551 from twangboy/osx_fix_preinstall_2017.7.2

Fix preinstall script on OSX for 2017.7.2
This commit is contained in:
Mike Place 2017-09-18 12:35:34 -06:00 committed by GitHub
commit 3d3b09302d

View File

@ -132,7 +132,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"