diff options
author | zachir <zachir@librem.one> | 2023-10-10 08:50:47 -0500 |
---|---|---|
committer | zachir <zachir@librem.one> | 2023-10-10 08:50:47 -0500 |
commit | f811ff3801d648160c0114099cd38c570986e117 (patch) | |
tree | 734e7fe50909fb9d1689b3f55f9a1890f5fd155a | |
parent | dc560ffec94b0c7cb35eb87206da19617c9c923b (diff) |
Fix serviceinstall for Arch
-rwxr-xr-x | zirless.sh | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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() { |