summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsetup-box11
1 files changed, 10 insertions, 1 deletions
diff --git a/setup-box b/setup-box
index 57490a5..f01b7bc 100755
--- a/setup-box
+++ b/setup-box
@@ -338,7 +338,16 @@ main () {
# Packages to be installed (including services)
optimize_pack "$final_pack"
- apk add --virtual .setup-box $final_pack
+ echo "We are about to install the following packages:"
+ echo $final_pack | tr '\ ' '\n'
+ echo -n "Do you agree?[Y/n]: "
+ read answer
+ if [ "$answer" == "" ]; then answer="Y"; fi
+ if [ $answer == "Y" ] || [ $answer == "y" ]; then
+ apk add $final_pack
+ else
+ exit 0
+ fi
# Services to be added to startup (just services)
optimize_serv "$final_serv"