1 2 3 4 5 6 7 8 9 10 11 12 13 14
info_dir=/usr/share/info info_file=indent.info.gz post_install() { install-info ${info_dir}/$info_file ${info_dir}/dir 2> /dev/null } post_upgrade() { post_install $1 } pre_remove() { install-info --delete ${info_dir}/$info_file ${info_dir}/dir 2> /dev/null }