mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
alarm/kodi-rpi-legacy to 20.0-3
This commit is contained in:
parent
4c8f1e8bea
commit
34e3fae6a2
2 changed files with 8 additions and 5 deletions
|
@ -23,7 +23,7 @@ _commit=2464903eb19ac84f8883a78f4f8cb626bed225d7
|
|||
_clangbuild=
|
||||
|
||||
pkgver=20.0
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
arch=('armv7h')
|
||||
url="https://github.com/graysky2/xbmc/tree/gs-gbm_nexus"
|
||||
license=('GPL2')
|
||||
|
|
|
@ -24,14 +24,17 @@ post_install() {
|
|||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
# version 19.0-7 moves kodi.service to user.slice so warn users about data loss
|
||||
if (($(vercmp 19.0-7 $2) > 0)); then
|
||||
|
||||
# https://bugs.archlinux.org/task/77341
|
||||
if (($(vercmp $1 20.0-2) > 0)); then
|
||||
if ! grep -q -r '^KODI_AE_SINK=ALSA' /etc/conf.d/kodi-standalone; then
|
||||
cat <<END
|
||||
|
||||
>>> kodi.service now runs in systemd's user.slice, see man kodi.service for
|
||||
important info on how to reboot or shutdown the system to avoid data loss!
|
||||
>>> If audio is broken, add the following line to /etc/conf.d/kodi-standalone
|
||||
then restart kodi.service: KODI_AE_SINK=ALSA
|
||||
|
||||
END
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue