„deb/pre-post-build.sh“ ändern
This commit is contained in:
parent
1056169d78
commit
0e62a01750
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user