summaryrefslogtreecommitdiff
path: root/print/teTeX
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-11-16 22:27:38 +0000
committerminskim <minskim@pkgsrc.org>2005-11-16 22:27:38 +0000
commit116cf5a85fdbd63febfc795d220b01c20cb604db (patch)
treeec6c7e3b26fc00563effa527c0e2a54412a91217 /print/teTeX
parent172d2816521ff3b94aa6c2a285199b6189060ebd (diff)
downloadpkgsrc-116cf5a85fdbd63febfc795d220b01c20cb604db.tar.gz
Run updmap at DEINSTALL, rather than POST-DEINSTALL; otherwise, updmap
complains when multiple map files are deleted. No functional change to existing packages since none of them install multiple map files.
Diffstat (limited to 'print/teTeX')
-rw-r--r--print/teTeX/files/texmf.tmpl8
1 files changed, 5 insertions, 3 deletions
diff --git a/print/teTeX/files/texmf.tmpl b/print/teTeX/files/texmf.tmpl
index f5f7991713d..e08f1eb8201 100644
--- a/print/teTeX/files/texmf.tmpl
+++ b/print/teTeX/files/texmf.tmpl
@@ -1,4 +1,4 @@
-# $NetBSD: texmf.tmpl,v 1.2 2005/11/15 07:13:19 minskim Exp $
+# $NetBSD: texmf.tmpl,v 1.3 2005/11/16 22:27:38 minskim Exp $
#
# Rebuild the ls-R database.
#
@@ -10,12 +10,14 @@ POST-INSTALL)
@UPDMAP_SYS@ --enable Map=${map}
done
;;
-POST-DEINSTALL)
- @MKTEXLSR@ @TEXMFDIRS@
+DEINSTALL)
for map in @TEXFONTMAPS@; do
@UPDMAP_SYS@ --disable ${map}
done
;;
+POST-DEINSTALL)
+ @MKTEXLSR@ @TEXMFDIRS@
+ ;;
*)
;;
esac