From 24b1e14e26b1bc6cf98663c2964a3637c56944eb Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 18:28:21 +0200 Subject: Adding debian version 8.2402.0-1. Signed-off-by: Daniel Baumann --- debian/rsyslog.postrm | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 debian/rsyslog.postrm (limited to 'debian/rsyslog.postrm') diff --git a/debian/rsyslog.postrm b/debian/rsyslog.postrm new file mode 100644 index 0000000..d37f025 --- /dev/null +++ b/debian/rsyslog.postrm @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +if [ "$1" = "remove" ]; then + [ -f /etc/logrotate.d/rsyslog ] && mv -f /etc/logrotate.d/rsyslog /etc/logrotate.d/rsyslog.disabled +fi + +if [ "$1" = "purge" ] || [ "$1" = "disappear" ]; then + [ -f /etc/logrotate.d/rsyslog.disabled ] && rm -f /etc/logrotate.d/rsyslog.disabled +fi + +#DEBHELPER# -- cgit v1.2.3