summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--readme.install7
3 files changed, 5 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 936e2ba44912..5fa5cc7ba823 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = kodi-standalone-service
pkgdesc = Systemd service to run kodi in stand-alone mode without a DE
pkgver = 1.107
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/graysky2/kodi-standalone-service
install = readme.install
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 01859e39efdc..ead1bcaefe75 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgbase=kodi-standalone-service
pkgname=(kodi-standalone-x11-service kodi-standalone-gbm-service kodi-standalone-wayland-service)
pkgver=1.107
-pkgrel=1
+pkgrel=2
pkgdesc="Systemd service to run kodi in stand-alone mode without a DE"
# Do NOT attempt to use this package on Arch ARM! This is only for x86_64.
# You have been warned.
diff --git a/readme.install b/readme.install
index 794601718926..7befaa0716f6 100644
--- a/readme.install
+++ b/readme.install
@@ -5,14 +5,13 @@ post_remove() {
post_install() {
echo "--> Optionally create /etc/conf.d/kodi-standalone if you need to pass"
echo "--> any environment variables to the service"
-
- if [[ -L /etc/systemd/system/graphical.target.wants/kodi.service ]]; then
+
+ if find /etc/systemd/system -type l -name 'kodi.service' &>/dev/null; then
echo '-->'
echo '--> kodi.service is now kodi-x11.service'
echo '--> you must disable the old one and enable the new one'
+ echo true
fi
}
-pre_upgrade() {
-}
# vim:set ts=2 sw=2 et: