Skip to content

Commit

Permalink
chore: enable unattended-upgrades in debian
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Feb 23, 2024
1 parent 04e7a80 commit 70448a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pi-image/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ corepack enable
ensure_installed() {
if ! dpkg --verify "$1" 2>/dev/null; then
# Future: batch the installs, if there are multiple
apt-get install $1
apt-get install -y $1
fi
}
ensure_installed "wget"
ensure_installed "wget unattended-upgrades"

# Run interactive version picker
yarn --cwd "pi-image/update-prompt" install
Expand Down

0 comments on commit 70448a3

Please sign in to comment.