# arg 1: the new package version post_install() { ln -s /usr/sbin/logwatch /etc/cron.hourly/logwatch } pre_remove() { rm /etc/cron.hourly/logwatch } op=$1 shift $op $* # vim: ft=sh