diff --git a/usr/lib/setup-assistant/apply.sh b/usr/lib/setup-assistant/apply.sh index fc43726..f0a6bb1 100755 --- a/usr/lib/setup-assistant/apply.sh +++ b/usr/lib/setup-assistant/apply.sh @@ -1,12 +1,23 @@ #!/bin/bash if [ -e "/tmp/setup-assistant/prepare.sh" ]; then + echo "Running pre-installation stuff.." + echo "" sudo sh /tmp/setup-assistant/prepare.sh fi -cat /tmp/setup-assistant/pkgs.txt | sed '/^$/d;s/[[:blank:]]//g' > /tmp/setup-assistant/pkgs-install.txt +cat /tmp/setup-assistant/pkgs.txt | sed '/^$/d;s/[[:blank:]]//g' > /tmp/setup-assistant/pkgs-install.txt +echo "" +echo "Installing packages.." +echo "" sudo pacman --needed -S - < /tmp/setup-assistant/pkgs-install.txt if [ -e "/tmp/setup-assistant/setup_root.sh" ]; then + echo "" + echo "Enabling services.." + echo "" sh /tmp/setup-assistant/setup_root.sh fi + +echo "" +read -p "Press enter to finish"