summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsetup-box11
1 files changed, 5 insertions, 6 deletions
diff --git a/setup-box b/setup-box
index 8be2d88..222e454 100755
--- a/setup-box
+++ b/setup-box
@@ -229,12 +229,12 @@ add_services() {
##
# Main function starts here
main () {
- # first of all lets redirect any error to the limbo
+ # If -v was not given, lets redirect any error to the limbo
if [ "$show_error" == "0" ]; then
exec 2&> /dev/null
fi
- # installing dependencies
+ # Checking some premisses and installing dependencies
check_deps
# Harvesting for all valid JSON files
@@ -264,13 +264,12 @@ main () {
# Packages to be installed (including services)
optimize_pack "$final_pack"
- echo $final_pack
+ apk add $final_pack
# Services to be added to startup (just services)
optimize_serv "$final_serv"
- #add_services $final_serv
- echo Servicos: $final_serv
-
+ add_services $final_serv
+
# Removing dependencies
del_deps
}