]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Need to set correct owner of the superuser account file.
authorAndreas Öman <andreas@lonelycoder.com>
Thu, 28 May 2009 21:37:54 +0000 (21:37 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Thu, 28 May 2009 21:37:54 +0000 (21:37 +0000)
debian/hts-tvheadend.postinst

index 168497cc32cbf1b95b1df11c3b5eae398c8dafba..ac48f54f69bd8ec3cb45fe452606d39b9cb90bd8 100644 (file)
@@ -21,6 +21,7 @@ configure)
    rm -f "${HTS_SUPERUSERCONF}"
    touch "${HTS_SUPERUSERCONF}"
    chmod 600 "${HTS_SUPERUSERCONF}"
+   chown ${HTS_USER}:${HTS_USER} "${HTS_SUPERUSERCONF}"
 
    echo >>"${HTS_SUPERUSERCONF}" "{"