Skip to content

Commit

Permalink
v8.24
Browse files Browse the repository at this point in the history
- dietpi-bookworm-upgrade | Migrate myMPD APT repo to actual Bookworm suite instead of testing suite
- DietPi-Pre-patches | Migrate myMPD APT repo on Bookworm systems from testing suite to Bookworm suite
  • Loading branch information
MichaIng committed Oct 29, 2023
1 parent 42e9087 commit c7d4355
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .meta/dietpi-bookworm-upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ G_DIETPI-NOTIFY 2 'Migrating package lists to Bookworm suite'
G_EXEC sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list
(( $G_RASPBIAN )) || G_EXEC sed -i 's/ non-free$/ non-free non-free-firmware/' /etc/apt/sources.list
[[ $(find /etc/apt/sources.list.d/*.list 2> /dev/null) ]] && G_EXEC sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list.d/*.list
[[ -f '/etc/apt/sources.list.d/dietpi-mympd.list' ]] && G_EXEC sed -i 's/Debian_11/Debian_Testing/' /etc/apt/sources.list.d/dietpi-mympd.list
[[ -f '/etc/apt/sources.list.d/dietpi-mympd.list' ]] && G_EXEC sed -i 's/Debian_11/Debian_12/' /etc/apt/sources.list.d/dietpi-mympd.list

G_DIETPI-NOTIFY 2 'Reverting some package lists to Bullseye which have no Bookworm suite (yet)'
[[ -f '/etc/apt/sources.list.d/radxa.list' ]] && G_EXEC sed -i 's/bookworm/bullseye/g' /etc/apt/sources.list.d/radxa.list
Expand Down
5 changes: 5 additions & 0 deletions .update/pre-patches
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,11 @@ then
G_DIETPI-NOTIFY 2 'Migrating Mosquitto APT repository to Bookworm'
G_EXEC sed -i 's/bullseye/bookworm/' /etc/apt/sources.list.d/dietpi-mosquitto.list
fi
if [[ $G_DISTRO == 7 && -f '/etc/apt/sources.list.d/dietpi-mympd.list' ]]
then
G_DIETPI-NOTIFY 2 'Migrating myMPD APT repository from testing suite to Bookworm suite'
G_EXEC sed -i 's/Debian_Testing/Debian_12/' /etc/apt/sources.list.d/dietpi-mympd.list
fi
fi

exit 0
Expand Down

0 comments on commit c7d4355

Please sign in to comment.