hacks/fix-raspian-defaults/root/boot/per-once.d/05-packages.sh
2019-10-04 05:55:40 -07:00

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