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

This commit is contained in:
BlubbFish 2022-01-19 21:21:36 +01:00
parent f96f19d656
commit c113761450

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