Skip to content
Snippets Groups Projects
linux.sh 367 B
Newer Older
w2ak's avatar
w2ak committed
#!/bin/sh
TEXMFLOCAL="$(kpsewhich -var-value TEXMFLOCAL)"
PACKAGE="$TEXMFLOCAL/tex/latex/beamerx/"
FONTS="$TEXMFLOCAL/fonts/truetype/"
PERMS="Dg+s,ug+w,o-w,+X"
w2ak's avatar
w2ak committed
mkdir -p "$PACKAGE" "$FONTS"
rsync --recursive --exclude-from=install/.exclude --delete-excluded --chmod=$PERMS source/ $PACKAGE/
rsync --recursive --update --chmod=$PERMS fonts/ $FONTS/
w2ak's avatar
w2ak committed
texhash || mktexlsr