commit 029132f3a39cfc7be6158a0b5b20b45843b2ba46
parent 55be6c548441626482d04210069058defe761994
Author: Anders Damsgaard <andersd@riseup.net>
Date: Fri, 29 Sep 2017 10:35:02 -0700
ask about Debian package installation
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/init/20_debian_apt.sh b/init/20_debian_apt.sh
@@ -2,7 +2,8 @@
[[ "$(uname)" != "Linux" ]] && return 1
[[ "$(cat /etc/issue 2> /dev/null)" =~ Debian ]] || return 1
-set -e
+read -p "Do you want to install APT packages? [y/n] " -n 1 -r
+[[ "$REPLY" == [Nn]* ]] && return 1
apt_packages=(
autossh