This commit is contained in:
hl committed 2024-11-19 17:44:18 +08:00
1 parent ea26bb417b
commit 92aa59c3ff
2 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -4,4 +4,4 @@ command="nala"
command -v $command &>/dev/null || command="apt" command -v $command &>/dev/null || command="apt"
$command update $command update
fd="$1" fd="$1"
sed "s/ /\n/g" $fd | awk '!/^ *(#|$)/' "$1" | xargs -r $command install --no-install-recommends -y sed "s/ /\n/g" $fd | awk '!/^ *(#|$)/' | xargs -r $command install --no-install-recommends -y
Executable
+4
View File
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
set -e
echo -e "\e]52;c;$(cat $1 | base64)\a"