diff options
author | root <root@rshg054.dnsready.net> | 2013-03-23 00:06:21 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-03-23 00:06:21 -0700 |
commit | a42cd7aaabfdb3ecc0a538548e8dbcc7ca860b2d (patch) | |
tree | bbea919c4d1e7d8d747e636040d0cd510c279d68 /libre/libtasn1/libtasn1.install | |
parent | 6b3123e5628817e3cef9c44989dffd21c49b0817 (diff) |
Sat Mar 23 00:06:20 PDT 2013
Diffstat (limited to 'libre/libtasn1/libtasn1.install')
-rw-r--r-- | libre/libtasn1/libtasn1.install | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libre/libtasn1/libtasn1.install b/libre/libtasn1/libtasn1.install new file mode 100644 index 000000000..2d1ecc09f --- /dev/null +++ b/libre/libtasn1/libtasn1.install @@ -0,0 +1,18 @@ +info_dir=/usr/share/info +info_files=(libtasn1.info) + +post_install() { + for f in ${info_files[@]}; do + install-info ${info_dir}/$f.gz ${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.gz ${info_dir}/dir 2> /dev/null + done +} |