diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-06-11 19:25:30 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-06-11 19:25:30 -0300 |
commit | 82003723b18bb91b7293874ae3524823ec6795dc (patch) | |
tree | 0533e72d3ddbd52a2701293b31850e2c33fc5dca /libre/xbmc-libre/xbmc.install | |
parent | 724369dc21715f617963f4939b87a6594cded33d (diff) | |
download | abslibre-82003723b18bb91b7293874ae3524823ec6795dc.tar.gz abslibre-82003723b18bb91b7293874ae3524823ec6795dc.tar.bz2 abslibre-82003723b18bb91b7293874ae3524823ec6795dc.zip |
xbmc-libre-13.1-2: updating version
FIXES:
FS#40656 (https://bugs.archlinux.org/task/40656) - [xbmc] Error when upgrading xbmc while xbmc is running lirc device path given in configure so the trick for standalone is no longer needed and starting xbmc from desktop also works with lirc now
Diffstat (limited to 'libre/xbmc-libre/xbmc.install')
-rw-r--r-- | libre/xbmc-libre/xbmc.install | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/libre/xbmc-libre/xbmc.install b/libre/xbmc-libre/xbmc.install index 406476198..48f337c55 100644 --- a/libre/xbmc-libre/xbmc.install +++ b/libre/xbmc-libre/xbmc.install @@ -10,10 +10,16 @@ post_install() { post_upgrade() { post_install $1 if ! getent group xbmc | cut -d: -f3 | grep 420 > /dev/null 2>&1; then - groupmod -g 420 xbmc + groupmod -g 420 xbmc > /dev/null 2>&1 fi if ! id -u xbmc | grep 420 > /dev/null 2>&1; then - usermod -u 420 xbmc + usermod -u 420 xbmc > /dev/null 2>&1 + if [[ $? -ne 0 ]]; then + echo "Changing uid of user xbmc failed" + echo "It is recommended that the uid is changed." + echo "Stop all processes running under the xbmc user and reinstall xbmc" + echo "or change the uid manually. (usermod -u 420 xbmc)" + fi chown -R xbmc:xbmc /var/lib/xbmc fi } |