1
0
Fork 0
mirror of synced 2024-10-31 16:29:02 -04:00
garuda-common-settings/usr/lib/setup-assistant/apply.sh
2020-11-12 17:32:29 +01:00

12 lines
371 B
Bash

#!/bin/bash
if [ -e "/tmp/setup-assistant/prepare.sh" ]; then
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
sudo pacman --needed -S - < /tmp/setup-assistant/pkgs-install.txt
if [ -e "/tmp/setup-assistant/setup.sh" ]; then
sh /tmp/setup-assistant/setup_root.sh
fi