]> git.donarmstrong.com Git - lilypond.git/blob - debian/postinst
release: 1.3.120
[lilypond.git] / debian / postinst
1 #!/bin/sh
2 #
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
7
8 set -e
9
10 package=lilypond                # This is used for filenames!  Don't change it!
11 pkg_name="GNU LilyPond"
12
13 std_TEXMFMAIN=/usr/share/texmf  # Debian's standard $TEXMFMAIN
14
15 TEXMFMAIN=`/usr/bin/kpsewhich -expand-var '$TEXMFMAIN'`
16 : ${TEXMFMAIN:=$std_TEXMFMAIN}
17
18 echo " Running /usr/bin/mktexlsr $TEXMFMAIN..."
19 /usr/bin/mktexlsr $TEXMFMAIN
20
21 install-info --description='LilyPond, the GNU Project music typesetter' \
22         --section "Music" "Music" \
23         --quiet /usr/share/info/lilypond.info.gz
24
25 #DEBHELPER#
26 echo
27 echo " $pkg_name configuration completed."
28 echo " Please read /usr/share/doc/lilypond1.3/README.Debian to get started."