diff options
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() { |