PKGBUILDs/alarm/kodi-rbp/kodi.install

12 lines
350 B
Text
Raw Normal View History

post_install() {
getent group kodi > /dev/null || groupadd -r kodi
2014-12-30 15:51:42 +00:00
getent passwd kodi > /dev/null || useradd -r -m -d /var/lib/kodi -g kodi -s /usr/bin/nologin kodi
2017-02-04 02:21:39 +00:00
usermod -a -G kodi,audio,video,power,network,optical,storage,disk,tty,input kodi
mkdir -p var/lib/kodi
chown -R kodi:kodi var/lib/kodi
}
post_upgrade() {
post_install $1
}