summaryrefslogtreecommitdiff
path: root/print/lilypond/files/pkg-install.in
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--print/lilypond/files/pkg-install.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/print/lilypond/files/pkg-install.in b/print/lilypond/files/pkg-install.in
new file mode 100644
index 000000000000..81572f5e7a9d
--- /dev/null
+++ b/print/lilypond/files/pkg-install.in
@@ -0,0 +1,10 @@
+#!/bin/sh
+LOCALBASE="%%LOCALBASE%%"
+DATADIRVERSION="%%DATADIRVERSION%%"
+case $2 in
+ POST-INSTALL)
+ PATH=${LOCALBASE}/bin:${PATH}
+ export TEXMF="{${DATADIRVERSION},"`kpsexpand \\$TEXMF`"}"
+ texhash
+ ;;
+esac