mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Remove /opt/salt instead of /opt/salt/bin
This commit is contained in:
parent
2dd62aa1da
commit
ef8a14cdf9
1 changed files with 4 additions and 4 deletions
|
@ -118,11 +118,11 @@ if [ -L "$SBIN_DIR/salt-config" ]; then
|
|||
fi
|
||||
|
||||
###############################################################################
|
||||
# Remove the $BIN_DIR directory
|
||||
# Remove the $INSTALL_DIR directory
|
||||
###############################################################################
|
||||
if [ -d "$BIN_DIR" ]; then
|
||||
echo "Cleanup: Removing $BIN_DIR" >> "$TEMP_DIR/preinstall.txt"
|
||||
rm -rf "$BIN_DIR"
|
||||
if [ -d "$INSTALL_DIR" ]; then
|
||||
echo "Cleanup: Removing $INSTALL_DIR" >> "$TEMP_DIR/preinstall.txt"
|
||||
rm -rf "$INSTALL_DIR"
|
||||
echo "Cleanup: Removed Successfully" >> "$TEMP_DIR/preinstall.txt"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue