summaryrefslogtreecommitdiff
path: root/extra/indent/indent.install
blob: c48622c55ff13603fee798a84ba8f1f50d969e82 (plain)
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
}