new-klecker is on buster
[mirror/dsa-nagios.git] / dsa-nagios-checks / debian / postinst
index d7db3b4..8e5a69d 100644 (file)
@@ -2,7 +2,9 @@
 
 set -e
 
-[ -e /var/cache/dsa/nagios/weak-ssh-keys ] || /usr/share/dsa/weak-ssh-keys-check -s /var/cache/dsa/nagios/weak-ssh-keys
+dpkg-maintscript-helper rm_conffile /etc/cron.d/dsa-nagios-checks 110 dsa-nagios-checks -- "$@"
+
+rm -f /var/cache/dsa/nagios/weak-ssh-keys
 
 #DEBHELPER#