From 24d0263a0ac516ccc86df09146449fb040fb3689 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 28 Oct 2012 01:42:55 -0700 Subject: Sun Oct 28 01:42:24 PDT 2012 --- community/xbmc/xbmc.install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'community/xbmc/xbmc.install') 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() { -- cgit v1.2.3-54-g00ecf