infofiles="gdk.info gtk.info gtk.info-1 gtk.info-2 gtk.info-3 gtk.info-4 gtk.info-5 gtk.info-6" info_dir=/usr/share/info post_install() { for inf in ${infofiles}; do install-info ${info_dir}/${inf} ${info_dir}/dir done } post_upgrade() { post_install $1 } pre_remove() { for inf in ${infofiles}; do install-info --delete ${info_dir}/${inf} ${info_dir}/dir done }