Make sure $HOME/.hts and $HOME/.hts/tvheadend is owned by the hts user.

This commit is contained in:
Andreas Öman 2009-06-03 16:45:15 +00:00
parent 7b2de5e7a2
commit e655ffc61a

View file

@ -16,6 +16,8 @@ configure)
HTS_HOME=`getent passwd $HTS_USER | cut -d':' -f6`
mkdir -p "${HTS_HOME}/.hts/tvheadend"
chown ${HTS_USER}:${HTS_USER} "${HTS_HOME}/.hts"
chown ${HTS_USER}:${HTS_USER} "${HTS_HOME}/.hts/tvheadend"
HTS_SUPERUSERCONF="${HTS_HOME}/.hts/tvheadend/superuser"
rm -f "${HTS_SUPERUSERCONF}"