Browse Source

Disable builds on Arch

bryan 2 years ago
parent
commit
652a872d95
1 changed files with 5 additions and 2 deletions
  1. 5 2
      installJRMC

+ 5 - 2
installJRMC

@@ -253,9 +253,9 @@ init() {
 
     debug "Detected host platform: $ID $VERSION_ID"
 
-    # normalize ID
+    # normalize ID and set distro-specific vars
     case "$ID" in
-        arch|debian)
+        debian)
             ;;
         centos|fedora)
             if hash dnf &>/dev/null; then
@@ -276,6 +276,9 @@ init() {
         raspbian)
             ID="debian"
             ;;
+        arch)
+            BUILD_SWITCH=0 # TODO could be refactored
+            ;;
         *)
             echo "Autodetecting distro, this may be unreliable and --compat may also be required"
             if hash dnf &>/dev/null; then