diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-06-02 21:57:58 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-06-02 21:57:58 -0300 |
commit | 1e3c2d63629bd2c390f05a016d0677586b0745ed (patch) | |
tree | da428a956679e327a3dc8a79d47a8ad95c42ef8c /libre/xbmc-libre-lts/xbmc.install | |
parent | 134aab80b9d1855bcf43800f4e6e67bfc6a54cae (diff) | |
download | abslibre-1e3c2d63629bd2c390f05a016d0677586b0745ed.tar.gz abslibre-1e3c2d63629bd2c390f05a016d0677586b0745ed.tar.bz2 abslibre-1e3c2d63629bd2c390f05a016d0677586b0745ed.zip |
xbmc-libre-lts-12.3-3: updating revision based on xbmc from Arch
FIXES:
FS#40264 (https://bugs.archlinux.org/task/40264#comment123415) - [xbmc] polkit rules should be in /usr/share/polkit-1/rules.d/
FS#40597 (https://bugs.archlinux.org/task/40597) - [xbmc] screwing with local user xbmc
Diffstat (limited to 'libre/xbmc-libre-lts/xbmc.install')
-rw-r--r-- | libre/xbmc-libre-lts/xbmc.install | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libre/xbmc-libre-lts/xbmc.install b/libre/xbmc-libre-lts/xbmc.install index 6e477d103..406476198 100644 --- a/libre/xbmc-libre-lts/xbmc.install +++ b/libre/xbmc-libre-lts/xbmc.install @@ -1,8 +1,10 @@ post_install() { update_icons getent group xbmc > /dev/null || groupadd -g 420 xbmc - getent passwd xbmc > /dev/null || useradd -c 'XBMC user' -u 420 -g xbmc -G audio,video,network,optical -d /var/lib/xbmc -s /sbin/nologin xbmc - passwd -l xbmc > /dev/null + if ! getent passwd xbmc > /dev/null; then + useradd -c 'XBMC user' -u 420 -g xbmc -G audio,video,network,optical -d /var/lib/xbmc -s /sbin/nologin xbmc + passwd -l xbmc > /dev/null + fi } post_upgrade() { |