diff options
author | root <root@rshg054.dnsready.net> | 2012-11-18 02:17:27 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-11-18 02:17:27 -0800 |
commit | ab63d8d49f68847a68c2ba0014bf0d3338cb3df6 (patch) | |
tree | 7f0d9cf1b60a9b65a36c3f58ab2164c62cb378f1 /extra/latex2rtf/latex2rtf.install | |
parent | 071ecd58a9b69020ec170e7f89009a603e885371 (diff) |
Sun Nov 18 02:15:18 PST 2012
Diffstat (limited to 'extra/latex2rtf/latex2rtf.install')
-rw-r--r-- | extra/latex2rtf/latex2rtf.install | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/extra/latex2rtf/latex2rtf.install b/extra/latex2rtf/latex2rtf.install new file mode 100644 index 000000000..8dbcca926 --- /dev/null +++ b/extra/latex2rtf/latex2rtf.install @@ -0,0 +1,16 @@ +infodir=usr/share/info +file=latex2rtf.info + +post_install() { + [[ -x usr/bin/install-info ]] || return 0 + install-info "$infodir/$file.gz" "$infodir/dir" 2> /dev/null +} + +post_upgrade() { + post_install "$1" +} + +pre_remove() { + [[ -x usr/bin/install-info ]] || return 0 + install-info --delete "$infodir/$file.gz" "$infodir/dir" 2> /dev/null +} |