[arch-commits] Commit in texlive-bin/trunk (PKGBUILD texlive.install)
Rémy Oudompheng
remy at archlinux.org
Thu Jun 2 11:12:25 UTC 2011
Date: Thursday, June 2, 2011 @ 07:12:25
Author: remy
Revision: 126177
Add an install scriptlet.
Added:
texlive-bin/trunk/texlive.install
Modified:
texlive-bin/trunk/PKGBUILD
-----------------+
PKGBUILD | 1 +
texlive.install | 18 ++++++++++++++++++
2 files changed, 19 insertions(+)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-06-02 11:11:54 UTC (rev 126176)
+++ PKGBUILD 2011-06-02 11:12:25 UTC (rev 126177)
@@ -15,6 +15,7 @@
conflicts=('pdfjam')
options=('!libtool')
url='http://tug.org/texlive/'
+install="texlive.install"
source=('texmf.cnf'
'fix-fontforge-encoding.patch'
'09-texlive-fonts.conf'
Added: texlive.install
===================================================================
--- texlive.install (rev 0)
+++ texlive.install 2011-06-02 11:12:25 UTC (rev 126177)
@@ -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)"
+}
+
More information about the arch-commits
mailing list