Disable builds on Arch

This commit is contained in:
2023-01-06 16:24:42 -05:00
parent db8f561a61
commit 652a872d95

View File

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