summaryrefslogtreecommitdiff
path: root/static/thesiah.sh
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2024-06-30 17:36:57 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2024-06-30 17:36:57 +0900
commit38bbb5d9c16f70a7980f5145fb133fea6cc23484 (patch)
tree215d1045c0f3ab13b863cd11d86790adf558c0ba /static/thesiah.sh
parentb6f685a444f7a76cf735c196d2baf5a8655dd8bb (diff)
Init
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")