1
This commit is contained in:
parent
20a9999ccd
commit
076e6377db
1 changed files with 2 additions and 1 deletions
3
z.sh
3
z.sh
|
|
@ -40,7 +40,8 @@ else
|
||||||
echo "The following packages will be installed: ${packages[@]}"
|
echo "The following packages will be installed: ${packages[@]}"
|
||||||
fi
|
fi
|
||||||
read -r -p "Continue with installation? (Yes/no): " response
|
read -r -p "Continue with installation? (Yes/no): " response
|
||||||
if [[ "$response" == "n" || "$response" == "N" ]]; then
|
# default to yes
|
||||||
|
if [[ "$response" == "no" || "$response" == "No" ]]; then
|
||||||
echo "Aborting."
|
echo "Aborting."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue