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/asymptote/texlive.install |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/asymptote/texlive.install')
-rw-r--r-- | extra/asymptote/texlive.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/extra/asymptote/texlive.install b/extra/asymptote/texlive.install new file mode 100644 index 000000000..a7e61f209 --- /dev/null +++ b/extra/asymptote/texlive.install @@ -0,0 +1,20 @@ +info_dir=usr/share/info + +post_install() { + install-info ${info_dir}/asy-faq.info.gz ${info_dir}/dir + echo ">>> updating the filename database for texlive..." + mktexlsr --quiet usr/share/texmf +} + +post_upgrade() { + post_install +} + +pre_remove() { + install-info --delete ${info_dir}/asy-faq.info.gz ${info_dir}/dir +} + +post_remove() { + echo ">>> updating the filename database for texlive..." + mktexlsr --quiet usr/share/texmf +} |