lilypond-1.3.121
[lilypond.git] / debian / postinst
blobbf404ce2a2a7dc150222feb9e0f458be141ef195
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: Sun, 26 Mar 2000 02:18:41 -0700
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#
26 echo
27 echo " $pkg_name configuration completed."
28 echo " Please read /usr/share/doc/lilypond1.3/README.Debian to get started."