diff options
author | root <root@rshg054.dnsready.net> | 2012-10-28 01:42:55 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-28 01:42:55 -0700 |
commit | 24d0263a0ac516ccc86df09146449fb040fb3689 (patch) | |
tree | f0f189dbe8df340e0b242750c07e426899b4d2c5 /community/xbmc/xbmc.install | |
parent | 869e64b12767be3ef5b1e3628f337a9e116e2bbb (diff) |
Sun Oct 28 01:42:24 PDT 2012
Diffstat (limited to 'community/xbmc/xbmc.install')
-rw-r--r-- | community/xbmc/xbmc.install | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/community/xbmc/xbmc.install b/community/xbmc/xbmc.install index a3ae3d0d8..23535f662 100644 --- a/community/xbmc/xbmc.install +++ b/community/xbmc/xbmc.install @@ -1,13 +1,13 @@ post_install() { [[ $(type -p gtk-update-icon-cache) ]] && usr/bin/gtk-update-icon-cache -qtf usr/share/icons/hicolor [[ $(type -p update-desktop-database) ]] && usr/bin/update-desktop-database -q usr/share/applications - groupadd xbmc - useradd -G xbmc -d /var/empty xbmc + getent group xbmc > /dev/null || groupadd xbmc + getent passwd xbmc > /dev/null || useradd -d /var/empty xbmc + usermod -a -G xbmc,audio,video,power,network,optical,storage,disk xbmc } post_upgrade() { post_install $1 - echo "You may want to add xbmc user and group to use xbmc standalone" } post_remove() { |