diff --git a/installJRMC b/installJRMC index 536abbc..8480c58 100755 --- a/installJRMC +++ b/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