Skip to content

Commit

Permalink
1.54.1.sh: Fix erroneously disabled package sources
Browse files Browse the repository at this point in the history
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
  • Loading branch information
theCalcaholic committed May 3, 2024
1 parent f7aa18f commit c75fa44
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions staged_rollouts/v1.54.1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
39
21
52
77
71
80
90
29
6
62
10 changes: 10 additions & 0 deletions updates/1.54.1.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c75fa44

Please sign in to comment.