Files
init-debian/install.sh
T
2024-11-19 17:44:18 +08:00

8 lines
202 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 '!/^ *(#|$)/' | xargs -r $command install --no-install-recommends -y