summaryrefslogtreecommitdiff
path: root/libre/texlive-core/texlive.install
diff options
context:
space:
mode:
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