diff options
Diffstat (limited to 'community/freetalk/freetalk.install')
-rw-r--r-- | community/freetalk/freetalk.install | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/community/freetalk/freetalk.install b/community/freetalk/freetalk.install new file mode 100644 index 000000000..480dbf2be --- /dev/null +++ b/community/freetalk/freetalk.install @@ -0,0 +1,19 @@ +info_dir=/usr/share/info +info_files=(freetalk) + +post_install() { + for f in ${info_files[@]}; do + install-info ${info_dir}/$f.info ${info_dir}/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + for f in ${info_files[@]}; do + install-info --delete ${info_dir}/$f.info ${info_dir}/dir 2> /dev/null + done +} + |