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

This commit is contained in:
BlubbFish 2022-01-19 21:22:44 +01:00
parent c113761450
commit 2d36fd93ec

View File

@ -52,7 +52,7 @@ 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 " mkdir -p $(dirname \"${LOGFILE}\")" >> postinst
echo " mkdir -p $(dirname ${LOGFILE})" >> postinst
echo " touch ${LOGFILE}" >> postinst
echo " chown ${USERNAMEGROUP}:${USERNAMEGROUP} ${LOGFILE}" >> postinst
echo " chmod 644 ${LOGFILE}" >> postinst