info_dir=/usr/share/info

post_install() {
  install-info ${info_dir}/libIDL2.info.gz ${info_dir}/dir 2> /dev/null
}

post_upgrade() {
  post_install $1
}

pre_remove() {
  install-info --delete ${info_dir}/libIDL2.info.gz ${info_dir}/dir 2> /dev/null
}