mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
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:
commit
3d3b09302d
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue