1 2 3 4 5 6 7
# arg 1: the old package version pre_remove() { # clean up after ourselves # /bin/rm -rf /var/log/uptimed }