]> git.donarmstrong.com Git - lilypond.git/blob - debian/postinst.old.sh
partial: 1.0.1.jcn
[lilypond.git] / debian / postinst.old.sh
1 #!/bin/bash -e
2 #
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
8
9 std_TEXMF=/usr/lib/texmf
10
11 if [ "`which kpsetool`" ]; then
12     TEXMF=`kpsetool -v '$TEXMF'`
13 fi
14 : ${TEXMF:=$std_TEXMF}
15
16 if [ "$TEXMF" = "$std_TEXMF" -a "`which texhash`" -a -e $TEXMF/ls-R ]; then
17     texhash
18 fi