This commit is contained in:
darkclip committed 2024-01-11 04:23:12 +08:00
1 parent 4f66c08c8f
commit 05de1554fa
2 files changed
+4 -5

No files matched your search

+2 -2
View File
@@ -26,7 +26,7 @@ deb https://$mirror_site/debian-security $OS_CODE-security main contrib non-free
command="nala"
apt update
apt install $command || command="apt"
test -f "$packages_base"
test -r "$packages_base"
xargs -a <(awk '! /^ *(#|$)/' "$packages_base") -r $command install
@@ -51,7 +51,7 @@ curl -fsSL "https://packagecloud.io/ookla/speedtest-cli/gpgkey" | \
gpg --dearmor | tee /etc/apt/trusted.gpg.d/ookla_speedtest-cli-archive-keyring.gpg > /dev/null
$command update
test -f "$packages_addon"
test -r "$packages_addon"
xargs -a <(awk '! /^ *(#|$)/' "$packages_addon") -r $command install
cp .zshrc $HOME
+2 -3
View File
@@ -1,6 +1,5 @@
#!/usr/bin/env bash
set -e
if [[ -z "$1" ]]; then
exit 1
fi
test -r "$1"
xargs -a <(awk '! /^ *(#|$)/' "$1") -r nala install