From c75fa441176666db988498e36d539c1aa6c9b7ce Mon Sep 17 00:00:00 2001 From: Tobias K <6317548+theCalcaholic@users.noreply.github.com> Date: Thu, 2 May 2024 20:41:01 +0200 Subject: [PATCH] 1.54.1.sh: Fix erroneously disabled package sources Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com> --- staged_rollouts/v1.54.1.txt | 10 ++++++++++ updates/1.54.1.sh | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100644 staged_rollouts/v1.54.1.txt create mode 100644 updates/1.54.1.sh diff --git a/staged_rollouts/v1.54.1.txt b/staged_rollouts/v1.54.1.txt new file mode 100644 index 000000000..9db674ceb --- /dev/null +++ b/staged_rollouts/v1.54.1.txt @@ -0,0 +1,10 @@ +39 +21 +52 +77 +71 +80 +90 +29 +6 +62 \ No newline at end of file diff --git a/updates/1.54.1.sh b/updates/1.54.1.sh new file mode 100644 index 000000000..991ae6ebc --- /dev/null +++ b/updates/1.54.1.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +set -e +echo "Reenable erroneously disabled package sources" +for aptlist in /etc/apt/sources.list /etc/apt/sources.list.d/{php.list,armbian.list,raspi.list} +do + [ -f "$aptlist" ] && sed -i -e "s/#deb /deb /g" "$aptlist" +done +echo "done" +sudo apt-get update && sudo apt-get upgrade -y \ No newline at end of file