From dcc55a1cfa32068d0759c1c8307f6c07c11aec99 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 19 Oct 2012 08:15:39 -0700 Subject: Fri Oct 19 08:15:38 PDT 2012 --- community/xbmc/xbmc.install | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'community/xbmc/xbmc.install') diff --git a/community/xbmc/xbmc.install b/community/xbmc/xbmc.install index 862508e73..a3ae3d0d8 100644 --- a/community/xbmc/xbmc.install +++ b/community/xbmc/xbmc.install @@ -1,15 +1,16 @@ 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 - true + groupadd xbmc + useradd -G xbmc -d /var/empty xbmc } post_upgrade() { post_install $1 - true + echo "You may want to add xbmc user and group to use xbmc standalone" } post_remove() { post_install $1 - true + echo "You may want to remove xbmc user and group" } -- cgit v1.2.3-54-g00ecf