#!/bin/sh
#
# postinst script for the Debian GNU/Linux lilypond package
#   by Anthony Fok <foka@debian.org>
#   Initial release:  Sun, 26 Oct 1997 03:23:00 -0700
#     Last modified:  Sun, 26 Mar 2000 02:18:41 -0700

set -e

package=lilypond		# This is used for filenames!  Don't change it!
pkg_name="GNU LilyPond"

std_TEXMFMAIN=/usr/share/texmf	# Debian's standard $TEXMFMAIN

TEXMFMAIN=`/usr/bin/kpsewhich -expand-var '$TEXMFMAIN'`
: ${TEXMFMAIN:=$std_TEXMFMAIN}

echo " Running /usr/bin/mktexlsr $TEXMFMAIN..."
/usr/bin/mktexlsr $TEXMFMAIN

#install-info --description='LilyPond, the GNU Project music typesetter' \
#	--section "Music" "Music" \
#	--quiet /usr/share/info/lilypond.info.gz

#DEBHELPER#

echo
echo " $pkg_name configuration completed."
echo " Please read /usr/share/doc/lilypond1.3/README.Debian to get started."
