diff options
Diffstat (limited to 'testing/asymptote/texlive.install')
-rw-r--r-- | testing/asymptote/texlive.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/asymptote/texlive.install b/testing/asymptote/texlive.install new file mode 100644 index 000000000..a7e61f209 --- /dev/null +++ b/testing/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 +} |