16 lines
221 B
Bash
16 lines
221 B
Bash
#!/bin/bash
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
PKGS="$(cat $DIR/packages.txt)"
|
|
|
|
export DEBIAN_FRONTEND=noninteractive
|
|
|
|
apt update
|
|
|
|
apt upgrade -y
|
|
|
|
for PKG in $PKGS ; do
|
|
apt install -y $PKG
|
|
done
|