Added non-official support for arch-based distros

This commit is contained in:
Gu://em_ 2026-07-08 19:00:10 +02:00
parent 0f4af24823
commit 0d241b0b71

View file

@ -210,9 +210,13 @@ preflight() {
step "Checking system"
if [[ ! -f /etc/arch-release ]]; then
err "This installer only supports Arch Linux."
exit 1
warn "It doesn't officially support other arch-based distros"
warn "Only continue the installation if you know what you are doing"
confirm "Continue anyway ?" y || { echo; info "Aborting..."; exit 1; }
ok "Skipping system validation..."
else
ok "Arch Linux detected"
fi
ok "Arch Linux detected"
# Not root
if [[ $EUID -eq 0 ]]; then