summaryrefslogtreecommitdiff
path: root/community-testing/xbmc/xbmc.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-25 01:42:20 -0700
committerroot <root@rshg054.dnsready.net>2012-10-25 01:42:20 -0700
commita3b55a0c47a00ac40bc00a4ce87d93f809273840 (patch)
tree6fcc1360f835115b132c35ca978b1f804540a372 /community-testing/xbmc/xbmc.install
parent120df4e0db159525806a9b33364483e76f9d51d3 (diff)
Thu Oct 25 01:42:05 PDT 2012
Diffstat (limited to 'community-testing/xbmc/xbmc.install')
-rw-r--r--community-testing/xbmc/xbmc.install7
1 files changed, 4 insertions, 3 deletions
diff --git a/community-testing/xbmc/xbmc.install b/community-testing/xbmc/xbmc.install
index 862508e73..a3ae3d0d8 100644
--- a/community-testing/xbmc/xbmc.install
+++ b/community-testing/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"
}