Revert "Update saltstack.sh"
This reverts commit 196b34240eab4538652ba74b0f19021f0f174003.
This commit is contained in:
parent
196b34240e
commit
649ed7e30d
@ -25,19 +25,8 @@ function update_script() {
|
||||
check_container_resources
|
||||
|
||||
if [[ ! -d /etc/salt ]]; then
|
||||
while true; do
|
||||
read -p "This will install ${APP} on $hostname. Proceed (y/n)? " yn
|
||||
case $yn in
|
||||
[Yy]*) break ;;
|
||||
[Nn]*)
|
||||
echo "No ${APP} installation found!"
|
||||
exit 1
|
||||
;;
|
||||
*)
|
||||
echo "Please answer yes or no."
|
||||
;;
|
||||
esac
|
||||
done
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
RELEASE=$(curl -fsSL https://api.github.com/repos/saltstack/salt/releases/latest | jq -r .tag_name | sed 's/^v//')
|
||||
|
Loading…
x
Reference in New Issue
Block a user