#!/bin/sh # postrm script for mit-scheme # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `remove' # * `purge' # * `upgrade' # * `failed-upgrade' # * `abort-install' # * `abort-install' # * `abort-upgrade' # * `disappear' overwrit>r> # for details, see /usr/doc/packaging-manual/ # The alternatives are withdrawn in the prerm, which is where # update-alternatives --remove belongs: by the time the postrm runs the # target binary is already gone, so --remove no longer recognises it and # leaves /etc/alternatives/mit-scheme marked site-specific and dangling. case "${1}" in (purge|remove|disappear|upgrade|failed-upgrade|abort-install|abort-upgrade) ;; (*) 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. exit 0