summaryrefslogtreecommitdiff
path: root/static/thesiah.sh
diff options
context:
space:
mode:
Diffstat (limited to 'static/thesiah.sh')
-rwxr-xr-xstatic/thesiah.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/static/thesiah.sh b/static/thesiah.sh
index 34e7efc..d55f04d 100755
--- a/static/thesiah.sh
+++ b/static/thesiah.sh
@@ -218,11 +218,11 @@ installationloop() {
echo "$comment" | grep -q "^\".*\"$" &&
comment="$(echo "$comment" | sed -E "s/(^\"|\"$)//g")"
case "$tag" in
- "A") aurinstall "$program" "$comment" || error "Failed to install the aur package." ;;
- "G") gitmakeinstall "$program" "$comment" || error "Failed to install the git package." ;;
- "P") pipinstall "$program" "$comment" || error "Failed to install the pip package." ;;
- "I") initinstall "$program" "$comment" || error "Failed to install the init package." ;;
- *) maininstall "$program" "$comment" || error "Failed to install the pacman package." ;;
+ "A") aurinstall "$program" "$comment" ;;
+ "G") gitmakeinstall "$program" "$comment" ;;
+ "P") pipinstall "$program" "$comment" ;;
+ "I") initinstall "$program" "$comment" ;;
+ *) maininstall "$program" "$comment" ;;
esac
done </tmp/progs.csv
}
@@ -383,7 +383,7 @@ ufwsetup() {
ufw allow in 'Postfix SMTPS' >/dev/null 2>&1
ufw allow in 'Mail Submission' >/dev/null 2>&1
sleep 1
- ufw enable >/dev/null 2>&1
+ ufw enable >/dev/null 2>&1 || ufw --force enable >/dev/null 2>&1
sleep 1
case "$initsys" in
"runit")