Skip to content

Commit

Permalink
v8.24
Browse files Browse the repository at this point in the history
- DietPi-Pre-patches | Purge conflicting kodi-repository-kodi package on RPi Bookworm systems (and above) as the RPi Bookworm suite ships a kodi package which contains the addons repository
  • Loading branch information
MichaIng committed Nov 7, 2023
1 parent 65108d3 commit 5365581
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .update/pre-patches
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,11 @@ then
G_EXEC sed -i 's/ testing / stable /' /etc/apt/sources.list.d/dietpi-openhab.list
(( $G_DISTRO < 6 )) && G_EXEC eval 'echo -e '\''Package: openhab*\nPin: version 3.*\nPin-Priority: 501'\'' > /etc/apt/preferences.d/dietpi-openhab'
fi
if [[ $G_DISTRO -ge 7 && -f '/etc/apt/sources.list.d/raspi.list' ]] && dpkg-query -s 'kodi-repository-kodi' &> /dev/null
then
G_DIETPI-NOTIFY 2 'Purging conflicting kodi-repository-kodi package'
G_AGP kodi-repository-kodi
fi
fi

exit 0
Expand Down

0 comments on commit 5365581

Please sign in to comment.