lilypond-1.1.55
[lilypond.git] / debian / postinst.old.sh
blob55188f11a9e52ff5f4d5d9faa15f40c82b4b9188
1 #!/bin/bash -e
3 # postinst script for the Debian GNU/Linux lilypond package
4 # by Anthony Fok <foka@debian.org>
5 # This is free software; see the GNU General Public Licence
6 # version 2 or later for copying conditions. There is NO warranty.
7 # Last modified: Wed, 6 Aug 1997 13:42:45 -0600
9 std_TEXMF=/usr/lib/texmf
11 if [ "`which kpsetool`" ]; then
12 TEXMF=`kpsetool -v '$TEXMF'`
14 : ${TEXMF:=$std_TEXMF}
16 if [ "$TEXMF" = "$std_TEXMF" -a "`which texhash`" -a -e $TEXMF/ls-R ]; then
17 texhash