diff options
Diffstat (limited to '')
-rw-r--r-- | debian/rsyslog.preinst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/rsyslog.preinst b/debian/rsyslog.preinst new file mode 100644 index 0000000..2f726ab --- /dev/null +++ b/debian/rsyslog.preinst @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +if [ "$1" = "install" ] && [ -n "$2" ] ; then + [ -f /etc/logrotate.d/rsyslog.disabled ] && mv -f /etc/logrotate.d/rsyslog.disabled /etc/logrotate.d/rsyslog +fi + +#DEBHELPER# |