summaryrefslogtreecommitdiff
path: root/public/thesiah.sh
diff options
context:
space:
mode:
Diffstat (limited to 'public/thesiah.sh')
-rwxr-xr-xpublic/thesiah.sh16
1 files changed, 8 insertions, 8 deletions
diff --git a/public/thesiah.sh b/public/thesiah.sh
index a096123..60be7b9 100755
--- a/public/thesiah.sh
+++ b/public/thesiah.sh
@@ -219,7 +219,7 @@ installationloop() {
comment="$(echo "$comment" | sed -E "s/(^\"|\"$)//g")"
case "$tag" in
"A") aurinstall "$program" "$comment" ;;
- "I")
+ "I")
case "$(readlink -f /sbin/init)" in
*systemd*) maininstall "$program" "$comment" ;;
*) initinstall "$program" "$comment" ;;
@@ -367,7 +367,7 @@ ecryptfssetup() {
ufwsetup() {
whiptail --infobox "Setting up ufw..." 7 50
[ -x "$(command -v "ufw")" ] || installpkg ufw
- [ ! "$initsys" = "systemd" ] && {
+ [ ! "$initsys" = "systemd" ] && {
pacman -Qq ufw-"$initsys" >/dev/null 2>&1 || installpkg ufw-"$initsys"
}
sleep 1
@@ -414,7 +414,7 @@ ufwsetup() {
sambasetup() {
whiptail --infobox "Setting up samba..." 7 50
[ -x "$(command -v "samba")" ] || installpkg samba
- [ ! "$initsys" = "systemd" ] && {
+ [ ! "$initsys" = "systemd" ] && {
pacman -Qq samba-"$initsys" >/dev/null 2>&1 || installpkg samba-"$initsys"
}
sleep 1
@@ -459,7 +459,7 @@ sambasetup() {
bluezsetup() {
whiptail --infobox "Setting up bluetooth..." 7 50
pacman -Qq bluez >/dev/null 2>&1 || installpkg bluez
- [ ! "$initsys" = "systemd" ] && {
+ [ ! "$initsys" = "systemd" ] && {
pacman -Qq bluez-"$initsys" >/dev/null 2>&1 || installpkg bluez-"$initsys"
}
sleep 3
@@ -487,7 +487,7 @@ bluezsetup() {
cronsetup() {
whiptail --infobox "Setting up cronjob..." 7 50
pacman -Qq cronie >/dev/null 2>&1 || installpkg cronie
- [ ! "$initsys" = "systemd" ] && {
+ [ ! "$initsys" = "systemd" ] && {
pacman -Qq cronie-"$initsys" >/dev/null 2>&1 || installpkg cronie-"$initsys"
}
sleep 1
@@ -524,7 +524,7 @@ cronsetup() {
tlpsetup() {
whiptail --infobox "Setting up tlp..." 7 50
[ -x "$(command -v "tlp")" ] || installpkg tlp
- [ ! "$initsys" = "systemd" ] && {
+ [ ! "$initsys" = "systemd" ] && {
pacman -Qq tlp-"$initsys" >/dev/null 2>&1 || installpkg tlp-"$initsys"
}
sleep 1
@@ -567,7 +567,7 @@ bbswitchsetup() {
sshsetup() {
whiptail --infobox "Setting up ssh..." 7 50
[ -x "$(command -v "ssh")" ] || installpkg openssh
- [ ! "$initsys" = "systemd" ] && {
+ [ ! "$initsys" = "systemd" ] && {
pacman -Qq openssh-"$initsys" >/dev/null 2>&1 || installpkg openssh-"$initsys"
}
sleep 1
@@ -597,7 +597,7 @@ sshsetup() {
vpnsetup() {
whiptail --infobox "Setting up vpn..." 7 50
[ -x "$(command -v "openvpn")" ] || installpkg openvpn
- [ ! "$initsys" = "systemd" ] && {
+ [ ! "$initsys" = "systemd" ] && {
pacman -Qq openvpn-"$initsys" >/dev/null 2>&1 || installpkg openvpn-"$initsys"
}
pacman -Qq networkmanager-openvpn >/dev/null 2>&1 || installpkg networkmanager-openvpn