From 16103df8253604de9c326a772867691a4708881b Mon Sep 17 00:00:00 2001 From: Wildan M Date: Sun, 3 May 2026 06:26:34 +0700 Subject: [PATCH] Reorder install script for fedora apt tools --- native_bootstrap.sh | 6 +++--- podman_bootstrap.sh | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/native_bootstrap.sh b/native_bootstrap.sh index 7e136396d..2378a2f3b 100755 --- a/native_bootstrap.sh +++ b/native_bootstrap.sh @@ -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" diff --git a/podman_bootstrap.sh b/podman_bootstrap.sh index fa6d99b68..27db878b6 100755 --- a/podman_bootstrap.sh +++ b/podman_bootstrap.sh @@ -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"