Disable builds on Arch
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user