blob: d37f025a9e7d2fb08e1a330daa51bbf6b67d8a25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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#
|