„deb/pre-post-build.sh“ ändern
This commit is contained in:
parent
f96f19d656
commit
c113761450
@ -52,7 +52,7 @@ echo ""
|
|||||||
# Create Logfile
|
# Create Logfile
|
||||||
if [ -n "${LOGFILE}" ]; then
|
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}.conf" >> postinst
|
||||||
echo " mkdir -p \$(dirname \"${LOGFILE}\")" >> postinst
|
echo " mkdir -p $(dirname \"${LOGFILE}\")" >> postinst
|
||||||
echo " touch ${LOGFILE}" >> postinst
|
echo " touch ${LOGFILE}" >> postinst
|
||||||
echo " chown ${USERNAMEGROUP}:${USERNAMEGROUP} ${LOGFILE}" >> postinst
|
echo " chown ${USERNAMEGROUP}:${USERNAMEGROUP} ${LOGFILE}" >> postinst
|
||||||
echo " chmod 644 ${LOGFILE}" >> postinst
|
echo " chmod 644 ${LOGFILE}" >> postinst
|
||||||
|
Loading…
Reference in New Issue
Block a user