update
This commit is contained in:
parent
742c57927f
commit
464f381418
@ -1,7 +1,6 @@
|
||||
#/usr/bin/env bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
command="nala"
|
||||
command -v $command &>/dev/null || command="apt"
|
||||
$command update
|
||||
cmd=$((command -v nala &>/dev/null && echo "nala") || echo "apt")
|
||||
$cmd update
|
||||
fd="$1"
|
||||
sed "s/ /\n/g" $fd | awk '!/^ *(#|$)/' | xargs -r $command install --no-install-recommends -y
|
||||
sed "s/ /\n/g" $fd | awk '!/^ *(#|$)/' | xargs -r $cmd install --no-install-recommends -y
|
||||
|
||||
Loading…
Reference in New Issue
Block a user