#!/bin/sh set -e case "$1" in remove|disappear) ;; purge|upgrade|failed-upgrade|abort-install|abort-upgrade) rm -f /var/log/lynis.log rm -f /var/log/lynis-report.dat ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. # Automatically added by dh_installmenu if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi # End automatically added section exit 0