FS#32215 - [xbmc] Add user/group existance checks to .install file
Attached to Project:
Community Packages
Opened by JB (techryda) - Thursday, 25 October 2012, 10:33 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 26 October 2012, 13:00 GMT
Opened by JB (techryda) - Thursday, 25 October 2012, 10:33 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 26 October 2012, 13:00 GMT
|
Details
Replace the last two lines of the .install file with the
following
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 |
This task depends upon