@@ -1,7 +1,4 @@
if [ "$1" = "purge" ]; then
find /etc/crowdsec -maxdepth 1 -mindepth 1 | grep -v "bouncer" | xargs rm -rf || echo ""
rm -rf /var/lib/crowdsec
- if [ -f "/etc/cron.daily/crowdsec" ]; then
- rm /etc/cron.daily/crowdsec
- fi
fi
@@ -230,10 +230,6 @@ if [ $1 == 0 ]; then
rm -rf /etc/crowdsec/hub
-if [ -f "/etc/cron.daily/crowdsec-hub" ]; then
-fi
-
#systemctl stop crowdsec || echo "crowdsec was not started"
%changelog