3 # postinst script for the Debian GNU/Linux lilypond package
5 # by Anthony Fok <foka@debian.org>
6 # Initial release: Sun, 26 Oct 1997 03:23:00 -0700
7 # Last modified: Wed, 11 Nov 1998 22:59:49 -0700
11 package=lilypond # This is used for filenames! Don't change it!
12 pkg_name="GNU LilyPond"
14 std_TEXMFMAIN=/usr/lib/texmf # Debian's standard $TEXMFMAIN
16 TEXMFMAIN=`/usr/bin/kpsewhich -expand-var '$TEXMFMAIN'`
17 : ${TEXMFMAIN:=$std_TEXMFMAIN}
19 echo " Running /usr/bin/mktexlsr ..."
24 # If we are the last package to use the old /usr/lib/texmf/doc,
25 # we will create the symlink to /usr/doc/texmf. :-)
26 if rmdir /usr/lib/texmf/doc >/dev/null 2>&1
28 ln -s /usr/doc/texmf /usr/lib/texmf/doc
32 echo " $pkg_name configuration completed."
33 echo " Please read /usr/doc/$package/README.Debian to get started."