From f811ff3801d648160c0114099cd38c570986e117 Mon Sep 17 00:00:00 2001 From: zachir Date: Tue, 10 Oct 2023 08:50:47 -0500 Subject: Fix serviceinstall for Arch --- zirless.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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() { -- cgit v1.2.3