package xfonts-terminus tags 455037 patch package xfonts-terminus-dos tags 455039 patch
thanks I've prepared an NMU for this old but release-goal bug: dget http://mentors.debian.net/debian/pool/main/x/xfonts-terminus/xfonts-terminus_4.26-2.1.dsc It clears the obsolete conffiles left over from etch as reported here at preinst. Besides, some clearance stuffs for very old version is also dropped. The debdiff is also attached. Is it OK to upload? -- Theppitak Karoonboonyanan http://linux.thai.net/~thep/
diff -u xfonts-terminus-4.26/debian/xfonts-terminus.preinst xfonts-terminus-4.26/debian/xfonts-terminus.preinst --- xfonts-terminus-4.26/debian/xfonts-terminus.preinst +++ xfonts-terminus-4.26/debian/xfonts-terminus.preinst @@ -2,23 +2,20 @@ set -e +# Remove a no-longer used conffile +rm_conffile() { + CONFFILE="$1" + + if [ -e "$CONFFILE" ]; then + echo "Removing obsolete conffile $CONFFILE ..." + rm -f "$CONFFILE" + fi +} + case "$1" in install|upgrade) - # Version 4.12-1 of the package left some garbage behind - if \ - [ -f /usr/share/fonts/bitmap/terminus/fonts.cache-1 ] \ - && [ "`ls /usr/share/fonts/bitmap/terminus/|wc -l`" -eq 1 ] - then - rm /usr/share/fonts/bitmap/terminus/fonts.cache-1 - rmdir /usr/share/fonts/bitmap/terminus/ - fi - if \ - [ -f /usr/share/fonts/bitmap/fonts.cache-1 ] \ - && [ "`ls /usr/share/fonts/bitmap/|wc -l`" -eq 1 ] - then - rm /usr/share/fonts/bitmap/fonts.cache-1 - rmdir /usr/share/fonts/bitmap/ - fi + # Version 4.20-5.1 (etch) left obsolete conffile behind. + rm_conffile "/etc/X11/fonts/X11R7/misc/xfonts-terminus.alias" ;; abort-upgrade) diff -u xfonts-terminus-4.26/debian/changelog xfonts-terminus-4.26/debian/changelog --- xfonts-terminus-4.26/debian/changelog +++ xfonts-terminus-4.26/debian/changelog @@ -1,3 +1,13 @@ +xfonts-terminus (4.26-2.1) unstable; urgency=medium + + * Non-maintainer upload. + * Urgency medium due to lenny-goal bug fix. + * Clear obsolete conffiles that were left over from etch for xfonts-terminus + and xfonts-terminus-dos. closes: #455037, #455039. + * Drop clearance stuffs for very old versions from xfonts-terminus preinst. + + -- Theppitak Karoonboonyanan <[EMAIL PROTECTED]> Mon, 24 Nov 2008 12:05:05 +0700 + xfonts-terminus (4.26-2) unstable; urgency=low * Remove the obsoleted Debconf message. Thanks to Christian Perrier, only in patch2: unchanged: --- xfonts-terminus-4.26.orig/debian/xfonts-terminus-dos.preinst +++ xfonts-terminus-4.26/debian/xfonts-terminus-dos.preinst @@ -0,0 +1,32 @@ +#!/bin/sh + +set -e + +# Remove a no-longer used conffile +rm_conffile() { + CONFFILE="$1" + + if [ -e "$CONFFILE" ]; then + echo "Removing obsolete conffile $CONFFILE ..." + rm -f "$CONFFILE" + fi +} + +case "$1" in + install|upgrade) + # Version 4.20-5.1 (etch) left obsolete conffile behind. + rm_conffile "/etc/X11/fonts/X11R7/misc/xfonts-terminus-dos.alias" + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0
signature.asc
Description: Digital signature