diff options
author | graysky | 2019-12-04 08:05:30 -0500 |
---|---|---|
committer | graysky | 2019-12-04 08:05:30 -0500 |
commit | 0bbd895f045e58f539985ecd7a79df55fbb73117 (patch) | |
tree | f1cc57696bd214d1796d414ae57f09081ace3337 /readme.install | |
parent | 529d123eacd3d1686bea23a37eb14e65b750782f (diff) | |
download | aur-0bbd895f045e58f539985ecd7a79df55fbb73117.tar.gz |
Update to 1.96-1
Diffstat (limited to 'readme.install')
-rw-r--r-- | readme.install | 12 |
1 files changed, 7 insertions, 5 deletions
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: |