This commit is contained in:
hl committed 2025-12-28 14:10:16 +08:00
1 parent 3013b04324
commit 38a268c99e
4 files changed
+6 -2

No files matched your search

+1 -1
View File
@@ -3,4 +3,4 @@
cmd=$((command -v nala &>/dev/null && echo "nala") || echo "apt")
$cmd update
fd="$1"
sed "s/ /\n/g" $fd | awk '!/^ *(#|$)/' | xargs -r $cmd install --no-install-recommends -y
sed "s/ /\n/g" $fd | awk '!/^ *(#|$)/' | xargs -r apt list | awk -F'/' '/\// {print $1}' | xargs -r $cmd install --no-install-recommends -y