summaryrefslogtreecommitdiff
path: root/testing/texlive-bin/texlive.install
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-06 22:47:17 +0000
committerroot <root@rshg047.dnsready.net>2011-06-06 22:47:17 +0000
commit93a9cde1226d0c82849bc71ff4d481d3d2698dc1 (patch)
tree1f60e792a546a9484aec590ce687df8f0ec6c697 /testing/texlive-bin/texlive.install
parentc81b3455112a3b09a8341fc8c45a91bd92c15a12 (diff)
Mon Jun 6 22:47:16 UTC 2011
Diffstat (limited to 'testing/texlive-bin/texlive.install')
-rw-r--r--testing/texlive-bin/texlive.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/texlive-bin/texlive.install b/testing/texlive-bin/texlive.install
new file mode 100644
index 000000000..9307c536b
--- /dev/null
+++ b/testing/texlive-bin/texlive.install
@@ -0,0 +1,18 @@
+post_install() {
+ echo ">>> texlive: updating the filename database..."
+ usr/bin/mktexlsr
+ echo -n "creating all formats..."
+ usr/bin/fmtutil-sys --all 1>/dev/null
+ echo " done."
+ echo " (logs are under /var/lib/texmf/web2c/<engine>/<formatname>.log)"
+}
+
+post_upgrade() {
+ echo ">>> texlive: updating the filename database..."
+ usr/bin/mktexlsr
+ echo -n "recreating all formats..."
+ usr/bin/fmtutil-sys --all 1>/dev/null
+ echo " done."
+ echo " (logs are under /var/lib/texmf/web2c/<engine>/<formatname>.log)"
+}
+