]> git.donarmstrong.com Git - lilypond.git/blobdiff - debian/postinst
patch::: 1.3.25.jcn2
[lilypond.git] / debian / postinst
index ac8e261b95432eaeef9e1c72746fb75f4f08ecae..8f096b4772d0e02975c4f80907fd6ec19a1cc9be 100755 (executable)
@@ -1,37 +1,29 @@
 #!/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:  Wed, 11 Nov 1998 22:59:49 -0700
+#     Last modified:  Wed,  7 Jul 1999 19:36:36 -0600
 
 set -e
 
 package=lilypond               # This is used for filenames!  Don't change it!
 pkg_name="GNU LilyPond"
 
-std_TEXMFMAIN=/usr/lib/texmf   # Debian's standard $TEXMFMAIN
+std_TEXMFMAIN=/usr/share/texmf # Debian's standard $TEXMFMAIN
 
 TEXMFMAIN=`/usr/bin/kpsewhich -expand-var '$TEXMFMAIN'`
 : ${TEXMFMAIN:=$std_TEXMFMAIN}
 
-echo " Running /usr/bin/mktexlsr ..."
-/usr/bin/mktexlsr
+echo " Running /usr/bin/mktexlsr $TEXMFMAIN..."
+/usr/bin/mktexlsr $TEXMFMAIN
 
 install-info --description='LilyPond, the GNU Project music typesetter' \
        --section "Music" "Music" \
-       --quiet /usr/info/lilypond.info.gz
+       --quiet /usr/share/info/lilypond.info.gz
 
 #DEBHELPER#
 
-# If we are the last package to use the old /usr/lib/texmf/doc,
-# we will create the symlink to /usr/doc/texmf.  :-)
-if rmdir /usr/lib/texmf/doc >/dev/null 2>&1
-then
-    ln -s /usr/doc/texmf /usr/lib/texmf/doc
-fi
-
 echo
 echo " $pkg_name configuration completed."
 echo " Please read /usr/doc/$package/README.Debian to get started."