alarm/kodi-rpi-legacy to 19.0-3

This commit is contained in:
graysky 2021-02-22 12:10:16 -05:00
parent 277a8f48fe
commit 6860f9fe2e
2 changed files with 15 additions and 2 deletions

View file

@ -13,7 +13,7 @@ _prefix=/usr
pkgbase=kodi-rpi-legacy
pkgname=('kodi-rpi-legacy' 'kodi-rpi-legacy-eventclients' 'kodi-rpi-legacy-tools-texturepacker' 'kodi-rpi-legacy-dev')
pkgver=19.0
pkgrel=2
pkgrel=3
arch=('armv7h')
url="https://github.com/popcornmix/xbmc/tree/gbm"
license=('GPL2')

View file

@ -1,4 +1,4 @@
post_install() {
_message() {
echo "-> Remove any tweaks made to /boot/config.txt now!"
echo "-> This includes lines such as gpu_mem=..."
echo "-> Add the following to /boot/config.txt or else kodi will not work."
@ -6,6 +6,19 @@ post_install() {
echo " include kodi.config.txt"
}
post_install() {
_config=/boot/config.txt
if [ -f "$_config" ]; then
if ! grep -q 'include kodi.config.txt' "$_config"; then
_message
fi
fi
}
post_upgrade() {
post_install
}
post_remove() {
echo "==> Optionally remove /var/lib/kodi/"
}