From bbb8c553a2cb15d5d729eeff9ce2c79f56f9b328 Mon Sep 17 00:00:00 2001 From: Andreas Fendt Date: Sat, 18 Nov 2017 20:41:57 +0100 Subject: [PATCH] Rasp Fix --- unattended-upgrades.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unattended-upgrades.sh b/unattended-upgrades.sh index e064301..7688027 100644 --- a/unattended-upgrades.sh +++ b/unattended-upgrades.sh @@ -26,7 +26,7 @@ apt-get install -y unattended-upgrades apt-listchanges # configure 50unattended-upgrades sed -r -i -e " -s/ \"origin=Debian,(\\S+),label=Debian-Security\";/\/\/ \"origin=Debian,\\1,label=Debian-Security\";\n \"o=*\";/g +s/ \"origin=(\\S+),(\\S+),label=(\\S+)-Security\";/\/\/ \"origin=\\1,\\2,label=\\3-Security\";\n \"o=*\";/g s/\/\/Unattended-Upgrade::AutoFixInterruptedDpkg \"false\"/Unattended-Upgrade::AutoFixInterruptedDpkg \"true\"/g s/\/\/Unattended-Upgrade::MinimalSteps \"true\"/Unattended-Upgrade::MinimalSteps \"true\"/g s/\/\/Unattended-Upgrade::InstallOnShutdown \"true\"/Unattended-Upgrade::InstallOnShutdown \"false\"/g