X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=debian%2Flilypond-data.postinst;fp=debian%2Flilypond-data.postinst;h=f86c19db8cd3f2b24ff0cc9084ecf34293a8b514;hb=95f21b745890a01ccc85c6ba57710090164b36d2;hp=0000000000000000000000000000000000000000;hpb=a8c9e8a7ca320ab0df5fd32e717fd62cd7635ce6;p=lilypond.git diff --git a/debian/lilypond-data.postinst b/debian/lilypond-data.postinst new file mode 100644 index 0000000000..f86c19db8c --- /dev/null +++ b/debian/lilypond-data.postinst @@ -0,0 +1,24 @@ +#!/bin/sh +# +# postinst script for the Debian GNU/Linux lilypond-data package +# by Anthony Fok +# Initial release: Sun, 26 Oct 1997 03:23:00 -0700 +# Last modified: Thu, 17 Jun 2004 11:40:36 +0800 + +set -e + +package=lilypond # This is used for filenames! Don't change it! +pkg_name="GNU LilyPond" + +std_TEXMFMAIN=/usr/share/texmf # Debian's standard $TEXMFMAIN + +TEXMFMAIN=`kpsewhich -expand-var '$TEXMFMAIN'` +: ${TEXMFMAIN:=$std_TEXMFMAIN} + +echo " Running mktexlsr $TEXMFMAIN..." +mktexlsr $TEXMFMAIN + +#DEBHELPER# +echo +echo " $pkg_name configuration completed." +echo " Please read /usr/share/doc/lilypond/README.Debian to get started."