„deb/pre-post-build.sh“ ändern

This commit is contained in:
BlubbFish 2022-01-21 09:51:56 +01:00
parent 1056169d78
commit 0e62a01750

View File

@ -51,7 +51,8 @@ echo ""
# Create Logfile
if [ -n "${LOGFILE}" ]; then
echo " ucf --three-way /usr/share/${NAME}/logrotate.d/${NAME}.conf /etc/logrotate.d/${NAME}.conf" >> postinst
echo " ucf --three-way /usr/share/${NAME}/logrotate.d/${NAME}.conf /etc/logrotate.d/${NAME}" >> postinst
echo " chown root:root /etc/logrotate.d/${NAME}" >> postinst
echo " mkdir -p $(dirname ${LOGFILE})" >> postinst
echo " touch ${LOGFILE}" >> postinst
echo " chown ${USERNAMEGROUP}:${USERNAMEGROUP} ${LOGFILE}" >> postinst