Add messages about status & require enter to close alacritty
This commit is contained in:
parent
602bce1ce2
commit
3076e528b3
1 changed files with 12 additions and 1 deletions
|
@ -1,12 +1,23 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
if [ -e "/tmp/setup-assistant/prepare.sh" ]; then
|
if [ -e "/tmp/setup-assistant/prepare.sh" ]; then
|
||||||
|
echo "Running pre-installation stuff.."
|
||||||
|
echo ""
|
||||||
sudo sh /tmp/setup-assistant/prepare.sh
|
sudo sh /tmp/setup-assistant/prepare.sh
|
||||||
fi
|
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
|
sudo pacman --needed -S - < /tmp/setup-assistant/pkgs-install.txt
|
||||||
|
|
||||||
if [ -e "/tmp/setup-assistant/setup_root.sh" ]; then
|
if [ -e "/tmp/setup-assistant/setup_root.sh" ]; then
|
||||||
|
echo ""
|
||||||
|
echo "Enabling services.."
|
||||||
|
echo ""
|
||||||
sh /tmp/setup-assistant/setup_root.sh
|
sh /tmp/setup-assistant/setup_root.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
read -p "Press enter to finish"
|
||||||
|
|
Loading…
Reference in a new issue