summaryrefslogtreecommitdiffstats
path: root/debian/rsyslog.preinst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 16:28:21 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 16:28:21 +0000
commit24b1e14e26b1bc6cf98663c2964a3637c56944eb (patch)
tree5dfbc4d09ae789919613f5e20d0dcac87e6ece90 /debian/rsyslog.preinst
parentAdding upstream version 8.2402.0. (diff)
downloadrsyslog-30fa9569d464c7c43b8f57301d6e79755d634750.tar.xz
rsyslog-30fa9569d464c7c43b8f57301d6e79755d634750.zip
Adding debian version 8.2402.0-1.debian/8.2402.0-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/rsyslog.preinst')
-rw-r--r--debian/rsyslog.preinst9
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#