From d83aa8d631aae4a3e7cf0bcfaeba61b5fac2d4cb Mon Sep 17 00:00:00 2001 From: Azlux Date: Thu, 1 Oct 2020 00:03:56 +0200 Subject: [PATCH] rm old cron files preparing new version --- debian/postinst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/postinst b/debian/postinst index a5875a5..6808141 100755 --- a/debian/postinst +++ b/debian/postinst @@ -4,6 +4,10 @@ set -euo pipefail systemctl daemon-reload systemctl enable log2ram.service log2ram-daily.timer + +rm -f /etc/cron.daily/log2ram +rm -f /etc/cron.hourly/log2ram + if [ "$1" == "configure" ]; then echo "##### Reboot to activate log2ram #####" echo "##### edit /etc/log2ram.conf to configure options ####"