This commit is contained in:
Zeev Diukman 2026-01-18 07:29:40 +02:00
parent 20a9999ccd
commit 076e6377db

3
z.sh
View file

@ -40,7 +40,8 @@ else
echo "The following packages will be installed: ${packages[@]}"
fi
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."
exit 1
fi