lilypond-1.3.21
[lilypond.git] / debian / postinst
blob8f096b4772d0e02975c4f80907fd6ec19a1cc9be
1 #!/bin/sh
3 # postinst script for the Debian GNU/Linux lilypond package
4 # by Anthony Fok <foka@debian.org>
5 # Initial release: Sun, 26 Oct 1997 03:23:00 -0700
6 # Last modified: Wed, 7 Jul 1999 19:36:36 -0600
8 set -e
10 package=lilypond # This is used for filenames! Don't change it!
11 pkg_name="GNU LilyPond"
13 std_TEXMFMAIN=/usr/share/texmf # Debian's standard $TEXMFMAIN
15 TEXMFMAIN=`/usr/bin/kpsewhich -expand-var '$TEXMFMAIN'`
16 : ${TEXMFMAIN:=$std_TEXMFMAIN}
18 echo " Running /usr/bin/mktexlsr $TEXMFMAIN..."
19 /usr/bin/mktexlsr $TEXMFMAIN
21 install-info --description='LilyPond, the GNU Project music typesetter' \
22 --section "Music" "Music" \
23 --quiet /usr/share/info/lilypond.info.gz
25 #DEBHELPER#
27 echo
28 echo " $pkg_name configuration completed."
29 echo " Please read /usr/doc/$package/README.Debian to get started."