Reorder install script for fedora apt tools

This commit is contained in:
Wildan M 2026-05-03 06:26:34 +07:00
parent f8c83ed80d
commit 16103df825
No known key found for this signature in database
GPG Key ID: 01AC53185C679C79
2 changed files with 6 additions and 6 deletions

View File

@ -1144,12 +1144,12 @@ else
# SUSE and derivatives
elif hash 2>/dev/null zypper; then
suse "$emulator"
# Debian or any derivative of it
elif hash 2>/dev/null apt-get; then
ubuntu "$emulator" "$noninteractive" "$defpackman"
# Fedora
elif hash 2>/dev/null dnf; then
fedora "$emulator" "$noninteractive"
# Debian or any derivative of it
elif hash 2>/dev/null apt-get; then
ubuntu "$emulator" "$noninteractive" "$defpackman"
# Gentoo
elif hash 2>/dev/null emerge; then
gentoo "$emulator"

View File

@ -632,12 +632,12 @@ else
# SUSE and derivatives
if hash 2>/dev/null zypper; then
suse "$emulator"
# Debian or any derivative of it
elif hash 2>/dev/null apt-get; then
ubuntu "$emulator" "$defpackman"
# Fedora
elif hash 2>/dev/null dnf; then
fedora "$emulator"
# Debian or any derivative of it
elif hash 2>/dev/null apt-get; then
ubuntu "$emulator" "$defpackman"
# Gentoo
elif hash 2>/dev/null emerge; then
gentoo "$emulator"