summaryrefslogtreecommitdiff
path: root/systems/apltex/amsfonts/font.sh
diff options
context:
space:
mode:
Diffstat (limited to 'systems/apltex/amsfonts/font.sh')
-rwxr-xr-xsystems/apltex/amsfonts/font.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/systems/apltex/amsfonts/font.sh b/systems/apltex/amsfonts/font.sh
new file mode 100755
index 0000000000..07beef1e9e
--- /dev/null
+++ b/systems/apltex/amsfonts/font.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+set -e
+
+if [ -f LOCK ]; then
+ echo ":: directory locked, cleanup first"
+ exit 0
+fi
+
+wkspc=`pwd`
+parnt=$wkspc/..
+fntds=$parnt/texmf/fonts
+
+if [ -d $fntds ]; then
+ cp -r tfm $fntds
+ cp -r type1 $fntds
+ mkdir $fntds/map && cp luatex.map $fntds/map
+fi
+
+cd $wkspc
+touch LOCK