update
This commit is contained in:
1 parent
742c57927f
commit
464f381418
1 file changed
+4
-5
+4
-5
@@ -1,7 +1,6 @@
|
|||||||
#/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
command="nala"
|
cmd=$((command -v nala &>/dev/null && echo "nala") || echo "apt")
|
||||||
command -v $command &>/dev/null || command="apt"
|
$cmd update
|
||||||
$command update
|
|
||||||
fd="$1"
|
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
|
||||||
Reference in new issue
Block a user