break at 80 lines
This commit is contained in:
parent
dc2127c06c
commit
8c6d3ee062
@ -1,9 +1,12 @@
|
||||
post_install() {
|
||||
getent group kodi > /dev/null || groupadd -g 420 kodi
|
||||
if ! getent passwd kodi > /dev/null; then
|
||||
useradd -c 'kodi user' -u 420 -g kodi -G audio,video,network,optical -d /var/lib/kodi -s /usr/bin/nologin kodi
|
||||
useradd -c 'kodi user' -u 420 -g kodi -G audio,video,network,optical \
|
||||
-d /var/lib/kodi -s /usr/bin/nologin kodi
|
||||
passwd -l kodi > /dev/null
|
||||
[[ ! -d /var/lib/kodi/.kodi ]] && mkdir /var/lib/kodi/.kodi && chown -R kodi:kodi /var/lib/kodi/.kodi
|
||||
[[ ! -d /var/lib/kodi/.kodi ]] &&
|
||||
mkdir /var/lib/kodi/.kodi &&
|
||||
chown -R kodi:kodi /var/lib/kodi/.kodi
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user