summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-10-10 08:50:47 -0500
committerzachir <zachir@librem.one>2023-10-10 08:50:47 -0500
commitf811ff3801d648160c0114099cd38c570986e117 (patch)
tree734e7fe50909fb9d1689b3f55f9a1890f5fd155a
parentdc560ffec94b0c7cb35eb87206da19617c9c923b (diff)
Fix serviceinstall for Arch
-rwxr-xr-xzirless.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/zirless.sh b/zirless.sh
index 2eaa2b5..b1d4e88 100755
--- a/zirless.sh
+++ b/zirless.sh
@@ -173,7 +173,11 @@ maininstall() { # Installs all needed programs from main repo.
serviceinstall() { # Installs service files in addition, for Artix packages
dialog --title "ZIRLESS Installation" --infobox "Installing \`$1\` ($n of $total). $1 $2" 5 70
- installpkg "$1" "$1-$init"
+ if [ "$DISTRO" = "ARTIX" ]; then
+ installpkg "$1" "$1-$init"
+ else
+ installpkg "$1"
+ fi
}
gitmakeinstall() {