summaryrefslogtreecommitdiff
path: root/libre/texlive-core/texlive.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-08-18 00:23:01 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-08-18 00:23:55 -0300
commit4d906c43682f616c7e8afe375686556469214653 (patch)
tree51bddfa228610e0ee2ff4a480586fad33fa3b217 /libre/texlive-core/texlive.install
parent57ae0ca35d1b84c3633837d81c01af1b70e1e222 (diff)
downloadabslibre-4d906c43682f616c7e8afe375686556469214653.tar.gz
abslibre-4d906c43682f616c7e8afe375686556469214653.tar.bz2
abslibre-4d906c43682f616c7e8afe375686556469214653.zip
texlive-core-2016.41843-1.parabola1: updating version
Diffstat (limited to 'libre/texlive-core/texlive.install')
-rw-r--r--libre/texlive-core/texlive.install12
1 files changed, 3 insertions, 9 deletions
diff --git a/libre/texlive-core/texlive.install b/libre/texlive-core/texlive.install
index 3b5e32a57..282186ad0 100644
--- a/libre/texlive-core/texlive.install
+++ b/libre/texlive-core/texlive.install
@@ -6,10 +6,7 @@ SYNCWITHTREES=''
MAPFILE="var/lib/texmf/arch/installedpkgs/$PKGNAME.maps"
post_install() {
- TMPFILE=`mktemp`
- echo ">>> texlive: saving updmap.cfg as $TMPFILE..."
- cp "$UPDMAP" "$TMPFILE"
- echo ">>> texlive: regenerating updmap.cfg (custom additions should go"
+ echo ">>> texlive: regenerating updmap.cfg (custom additions should go"
echo " into /etc/texmf/web2c/updmap-local.cfg"
cp usr/share/texmf-dist/web2c/updmap-hdr.cfg $UPDMAP
cat var/lib/texmf/arch/installedpkgs/*.maps >> $UPDMAP
@@ -20,7 +17,7 @@ post_install() {
# We need to remove directory "." from luatex cache to avoid absurd
# behaviour.
for item in var/lib/texmf/luatex-cache/context/*/trees/*.lua; do
- grep -F '["root"]="."' "$item" >/dev/null && rm -vf "$item" "${item%.lua}.luc"
+ grep -F '["root"]="."' "$item" >/dev/null && rm -f "$item" "${item%.lua}.luc"
done
echo ">>> texlive: updating the fontmap files with updmap..."
usr/bin/updmap-sys --quiet --nohash
@@ -34,9 +31,6 @@ post_install() {
}
post_upgrade() {
- TMPFILE=`mktemp`
- echo ">>> texlive: saving updmap.cfg as $TMPFILE..."
- cp "$UPDMAP" "$TMPFILE"
echo ">>> texlive: regenerating updmap.cfg (custom additions should go"
echo " into /etc/texmf/web2c/updmap-local.cfg"
cp usr/share/texmf-dist/web2c/updmap-hdr.cfg $UPDMAP
@@ -48,7 +42,7 @@ post_upgrade() {
# We need to remove directory "." from luatex cache to avoid absurd
# behaviour.
for item in var/lib/texmf/luatex-cache/context/*/trees/*.lua; do
- grep -F '["root"]="."' "$item" >/dev/null && rm -vf "$item" "${item%.lua}.luc"
+ grep -F '["root"]="."' "$item" >/dev/null && rm -f "$item" "${item%.lua}.luc"
done
echo ">>> texlive: updating the fontmap files with updmap..."
usr/bin/updmap-sys --quiet --nohash $SYNCWITHTREES