From bc95f25101d20e0595dad8caac00d69cb6121a0c Mon Sep 17 00:00:00 2001 From: pika Date: Wed, 21 May 2025 19:11:50 +0200 Subject: [PATCH] needing to revamp the run() command.. --- distros.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/distros.sh b/distros.sh index c96a5d9..fe812ec 100755 --- a/distros.sh +++ b/distros.sh @@ -159,7 +159,7 @@ source-script() { source_script "$1" } -run() { +run-silent() { [[ -z $silent ]] && "$@" || # else @@ -359,6 +359,7 @@ _setup() { # ─< Distribution detection and installation >──────────────────────────────────────── get_packager() { + # ─< define fallback function >─────────────────────────────────────────────────────────── fallback() { # ─────────────────────────────────────< get packager >───────────────────────────────────── local pkger="" @@ -513,12 +514,12 @@ dist_setup() { aur=false fi ;; - alpine) - _setup alpine - ;; - opensuse) - _setup opensuse + alpine | opensuse) + _setup $distro ;; + # opensuse) + # _setup opensuse + # ;; esac }