Added non-official support for arch-based distros
This commit is contained in:
parent
0f4af24823
commit
0d241b0b71
1 changed files with 6 additions and 2 deletions
|
|
@ -210,9 +210,13 @@ preflight() {
|
||||||
step "Checking system"
|
step "Checking system"
|
||||||
if [[ ! -f /etc/arch-release ]]; then
|
if [[ ! -f /etc/arch-release ]]; then
|
||||||
err "This installer only supports Arch Linux."
|
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
|
fi
|
||||||
ok "Arch Linux detected"
|
|
||||||
|
|
||||||
# Not root
|
# Not root
|
||||||
if [[ $EUID -eq 0 ]]; then
|
if [[ $EUID -eq 0 ]]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue