X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=debian%2Fpostinst;h=03e952e92c1aa1d3211463d403faa8b137e3dda2;hb=7dc13ef7dcb30c35e6dac0083c5082c8a6d7902f;hp=7f781eb29597aaa95708fbf7cd89ccd7239dfa21;hpb=5f42fe18c41237a73d99fd76b34e434a33598704;p=lilypond.git diff --git a/debian/postinst b/debian/postinst old mode 100755 new mode 100644 index 7f781eb295..03e952e92c --- a/debian/postinst +++ b/debian/postinst @@ -1,33 +1,29 @@ #!/bin/sh # # postinst script for the Debian GNU/Linux lilypond package -# # by Anthony Fok # Initial release: Sun, 26 Oct 1997 03:23:00 -0700 -# Last modified: Wed, 11 Nov 1998 22:59:49 -0700 +# Last modified: Thu, 26 Apr 2001 03:20:10 -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 - -#DEBHELPER# +echo " Running /usr/bin/mktexlsr $TEXMFMAIN..." +/usr/bin/mktexlsr $TEXMFMAIN -# 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 +install-info --quiet \ + --section "Music" "Music" \ + --description='LilyPond, the GNU Project music typesetter' \ + /usr/share/info/lilypond.info.gz +#DEBHELPER# echo echo " $pkg_name configuration completed." -echo " Please read /usr/doc/$package/README.Debian to get started." +echo " Please read /usr/share/doc/lilypond/README.Debian to get started."