From 70448a3cbc5e412becb0f45e3277a2316609f64b Mon Sep 17 00:00:00 2001 From: Julian Waller Date: Fri, 23 Feb 2024 20:38:35 +0000 Subject: [PATCH] chore: enable `unattended-upgrades` in debian --- pi-image/update.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pi-image/update.sh b/pi-image/update.sh index 5f90212..de4d893 100755 --- a/pi-image/update.sh +++ b/pi-image/update.sh @@ -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