info_dir=/usr/share/info post_install() { install-info ${info_dir}/sawfish.info.gz ${info_dir}/dir } post_upgrade() { post_install $1 } pre_remove() { install-info --delete ${info_dir}/sawfish.info.gz ${info_dir}/dir } op=$1 shift $op $*