]> git.donarmstrong.com Git - lilypond.git/blob - debian/postinst
32ba2706e43ba2e7f8709053664992407f5c5746
[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
27 echo
28 echo " $pkg_name configuration completed."
29 echo " Please read /usr/share/doc/lilypond1.3/README.Debian to get started."