diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/indent/indent.install |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/indent/indent.install')
-rw-r--r-- | extra/indent/indent.install | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/extra/indent/indent.install b/extra/indent/indent.install new file mode 100644 index 000000000..c48622c55 --- /dev/null +++ b/extra/indent/indent.install @@ -0,0 +1,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 +} |