]> git.donarmstrong.com Git - lilypond.git/commitdiff
Remove now useless mktexlsr calls and such from lilypond-doc.post{inst,rm}. Thanks...
authorDon Armstrong <don@donarmstrong.com>
Mon, 1 Dec 2014 23:01:59 +0000 (15:01 -0800)
committerDon Armstrong <don@donarmstrong.com>
Mon, 1 Dec 2014 23:01:59 +0000 (15:01 -0800)
debian/changelog
debian/lilypond-data.postinst [deleted file]
debian/lilypond-data.postrm [deleted file]

index fdfd44081d64323d2dd89aad26edbd25a0f09301..cefe5c67c9c3f1d2a56fe87bb733a10513023f36 100644 (file)
@@ -1,3 +1,10 @@
+lilypond (2.18.2-5~exp1) experimental; urgency=medium
+
+  * Remove now useless mktexlsr calls and such from
+    lilypond-doc.post{inst,rm}. Thanks to Julian Gilbey (Closes: #771732)
+
+ -- Don Armstrong <don@debian.org>  Mon, 01 Dec 2014 15:01:50 -0800
+
 lilypond (2.18.2-4) unstable; urgency=medium
 
   * Fix the wrong maintscript-helper invocation which was trying to
diff --git a/debian/lilypond-data.postinst b/debian/lilypond-data.postinst
deleted file mode 100644 (file)
index 18394fd..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-#
-# postinst script for the Debian GNU/Linux lilypond-data package
-#   by Anthony Fok <foka@debian.org>
-#   Initial release:  Sun, 26 Oct 1997 03:23:00 -0700
-#     Last modified:  Thu, 17 Jun 2004 11:40:36 +0800
-
-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=`kpsewhich -expand-var '$TEXMFMAIN'`
-: ${TEXMFMAIN:=$std_TEXMFMAIN}
-
-echo " Running mktexlsr $TEXMFMAIN..."
-mktexlsr $TEXMFMAIN
-
-#DEBHELPER#
-# echo
-# echo " $pkg_name configuration completed."
-# echo " Please read /usr/share/doc/lilypond/README.Debian to get started."
-
-if [ "$1" = "configure" ]; then
-    if [ -d /usr/share/info/lilypond ] && [ ! -L /usr/share/info/lilypond ] \
-       && rmdir /usr/share/lilypond; then
-       (cd /usr/share/info; ln -s ../doc/lilypond/html/Documentation/user/ lilypond;)
-    fi;
-fi;
diff --git a/debian/lilypond-data.postrm b/debian/lilypond-data.postrm
deleted file mode 100644 (file)
index 53620a0..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/sh
-#
-# postrm script for the Debian GNU/Linux lilypond package
-#   by Anthony Fok <foka@debian.org>
-#   This is free software; see the GNU General Public Licence
-#   version 2 or later for copying conditions.  There is NO warranty.
-#   Last modified:  Tue, 11 May 1999 11:16:35 -0600
-
-set -e
-
-package=lilypond
-font_supplier=public
-font_typeface=lilypond
-std_VARTEXFONTS=/var/spool/texmf
-
-#DEBHELPER#
-if [ "$1" != purge ]; then
-  VARTEXFONTS=`kpsewhich -expand-var '$VARTEXFONTS'`
-  : ${VARTEXFONTS=$std_VARTEXFONTS}
-fi
-
-case "$1" in
-    upgrade)
-       # Clear out the old TFM and PK files in case the fonts were modified
-       rm -rf $VARTEXFONTS/tfm/$font_supplier/$font_typeface
-       rm -rf $VARTEXFONTS/pk/*/$font_supplier/$font_typeface
-    ;;
-
-    remove)
-       # Clear out the old TFM and PK files in case the fonts were modified
-       rm -rf $VARTEXFONTS/tfm/$font_supplier/$font_typeface
-       rm -rf $VARTEXFONTS/pk/*/$font_supplier/$font_typeface
-    ;;
-
-    failed-upgrade|purge|abort-install|abort-upgrade|disappear)
-    ;;
-
-    *)
-       echo "postrm called with unknown argument \`$1'" >&2
-       exit 0
-    ;;
-esac