needing to revamp the run() command..

This commit is contained in:
pika 2025-05-21 19:11:50 +02:00
parent 8afaa6d745
commit bc95f25101

View file

@ -159,7 +159,7 @@ source-script() {
source_script "$1" source_script "$1"
} }
run() { run-silent() {
[[ -z $silent ]] && [[ -z $silent ]] &&
"$@" || "$@" ||
# else # else
@ -359,6 +359,7 @@ _setup() {
# ─< Distribution detection and installation >──────────────────────────────────────── # ─< Distribution detection and installation >────────────────────────────────────────
get_packager() { get_packager() {
# ─< define fallback function >───────────────────────────────────────────────────────────
fallback() { fallback() {
# ─────────────────────────────────────< get packager >───────────────────────────────────── # ─────────────────────────────────────< get packager >─────────────────────────────────────
local pkger="" local pkger=""
@ -513,12 +514,12 @@ dist_setup() {
aur=false aur=false
fi fi
;; ;;
alpine) alpine | opensuse)
_setup alpine _setup $distro
;;
opensuse)
_setup opensuse
;; ;;
# opensuse)
# _setup opensuse
# ;;
esac esac
} }