summarylogtreecommitdiffstats
path: root/readme.install
diff options
context:
space:
mode:
authorgraysky2020-01-07 15:58:02 -0500
committergraysky2020-01-07 15:58:02 -0500
commitd2036c1097b387594486e9673cd8d546f2957e02 (patch)
tree422720205f6ff9a7b79d546925a36760f972b610 /readme.install
parent0bbd895f045e58f539985ecd7a79df55fbb73117 (diff)
downloadaur-d2036c1097b387594486e9673cd8d546f2957e02.tar.gz
Update to 1.97-1
Diffstat (limited to 'readme.install')
-rw-r--r--readme.install23
1 files changed, 2 insertions, 21 deletions
diff --git a/readme.install b/readme.install
index c9b62f833cd..f63dd7b033d 100644
--- a/readme.install
+++ b/readme.install
@@ -1,25 +1,6 @@
-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,network,optical,uucp,video \
- -d /var/lib/kodi -s /usr/bin/nologin kodi
- passwd -l kodi > /dev/null
- [[ ! -d /var/lib/kodi/.kodi ]] &&
- mkdir /var/lib/kodi/.kodi &&
- chown -R kodi:kodi /var/lib/kodi/.kodi
- fi
-}
-
-post_upgrade() {
- usermod -g kodi -aG audio,network,optical,uucp,video kodi
-}
-
post_remove() {
- 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"
+ echo "==> Optionally delete the kodi user home directory"
+ echo "==> rm -rf /var/lib/kodi"
}
# vim:set ts=2 sw=2 et: