needing to revamp the run() command..
This commit is contained in:
parent
8afaa6d745
commit
bc95f25101
1 changed files with 7 additions and 6 deletions
13
distros.sh
13
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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue