init-debian/install.sh
2024-11-19 14:00:25 +08:00

8 lines
207 B
Bash
Executable File

#/usr/bin/env bash
command="nala"
command -v $command &>/dev/null || command="apt"
$command update
fd="$1"
sed "s/ /\n/g" $fd | awk '!/^ *(#|$)/' "$1" | xargs -r $command install --no-install-recommends -y