]> git.donarmstrong.com Git - lilypond.git/blob - debian/postinst
03e952e92c1aa1d3211463d403faa8b137e3dda2
[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:  Thu, 26 Apr 2001 03:20:10 -0600
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 --quiet \
22         --section "Music" "Music" \
23         --description='LilyPond, the GNU Project music typesetter' \
24         /usr/share/info/lilypond.info.gz
25
26 #DEBHELPER#
27 echo
28 echo " $pkg_name configuration completed."
29 echo " Please read /usr/share/doc/lilypond/README.Debian to get started."