summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD6
-rw-r--r--readme.install12
3 files changed, 14 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d5d48d290c96..2691a5657aef 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,13 @@
-# Generated by mksrcinfo v8
-# Mon May 13 23:27:00 UTC 2019
pkgbase = kodi-standalone-service
pkgdesc = Systemd service to run kodi in stand-alone mode without a DE
- pkgver = 1.95
- pkgrel = 5
+ pkgver = 1.96
+ pkgrel = 1
url = https://github.com/graysky2/kodi-standalone-service
install = readme.install
arch = x86_64
license = GPL
- source = https://github.com/graysky2/kodi-standalone-service/archive/v1.95.tar.gz
- sha256sums = da49c9f1cf6dad28ca88904db1d8b676cd935781a58f7c7917523e28a5bf74c8
+ source = https://github.com/graysky2/kodi-standalone-service/archive/v1.96.tar.gz
+ sha256sums = 9e6b36aa4e0bd3523dd9a88aa2f6aa3c8764e06eb7970fb8eeb407b73ec13790
pkgname = kodi-standalone-service
depends = kodi
diff --git a/PKGBUILD b/PKGBUILD
index fa0964f7f862..6bcce2432ed7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
pkgbase=kodi-standalone-service
pkgname=(kodi-standalone-service kodi-standalone-gbm-service)
-pkgver=1.95
-pkgrel=5
+pkgver=1.96
+pkgrel=1
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.
@@ -12,7 +12,7 @@ url="https://github.com/graysky2/kodi-standalone-service"
license=('GPL')
install=readme.install
source=("https://github.com/graysky2/$pkgbase/archive/v$pkgver.tar.gz")
-sha256sums=('da49c9f1cf6dad28ca88904db1d8b676cd935781a58f7c7917523e28a5bf74c8')
+sha256sums=('9e6b36aa4e0bd3523dd9a88aa2f6aa3c8764e06eb7970fb8eeb407b73ec13790')
package_kodi-standalone-service() {
depends=('kodi' 'polkit' 'xorg-server' 'xorg-xinit')
diff --git a/readme.install b/readme.install
index 1ea48411b516..c9b62f833cd3 100644
--- a/readme.install
+++ b/readme.install
@@ -1,7 +1,7 @@
post_install() {
getent group kodi > /dev/null || groupadd -g 420 kodi
if ! getent passwd kodi > /dev/null; then
- useradd -c 'kodi user' -u 420 -g kodi -G audio,input,network,optical,uucp,video \
+ useradd -c 'kodi user' -u 420 -g kodi -G audio,network,optical,uucp,video \
-d /var/lib/kodi -s /usr/bin/nologin kodi
passwd -l kodi > /dev/null
[[ ! -d /var/lib/kodi/.kodi ]] &&
@@ -11,13 +11,15 @@ post_install() {
}
post_upgrade() {
- usermod -g kodi -aG audio,input,network,optical,uucp,video kodi
+ usermod -g kodi -aG audio,network,optical,uucp,video kodi
}
post_remove() {
- echo "==> Optionally delete the kodi user if you are certain no processes are running under it."
- echo "==> userdel kodi"
- echo "==> groupdel kodi"
+ echo "==> Optionally delete the kodi user and its home directory"
+ echo "==> if you are certain no processes are running under it."
+ echo "==> userdel kodi"
+ echo "==> groupdel kodi"
+ echo "==> rm -rf /var/lib/kodi"
}
# vim:set ts=2 sw=2 et: