package t1-cyrillic
tags 455040 patch

package t1-oldslavic
tags 455042 patch

package t1-teams
tags 455043 patch

thanks


I've prepared an NMU for this old but release-goal bug:

  dget 
http://mentors.debian.net/debian/pool/main/s/scalable-cyrfonts/scalable-cyrfonts_4.12+nmu2.dsc

It clears the obsolete conffiles left over from etch as reported here at
preinst. Other bugs and packaging issues are left intact.

The debdiff is also attached.

Is it OK to upload?

-- 
Theppitak Karoonboonyanan
http://linux.thai.net/~thep/
diff -Nru scalable-cyrfonts-4.12+nmu1/debian/changelog scalable-cyrfonts-4.12+nmu2/debian/changelog
--- scalable-cyrfonts-4.12+nmu1/debian/changelog	2008-08-22 20:09:18.000000000 +0700
+++ scalable-cyrfonts-4.12+nmu2/debian/changelog	2008-11-24 16:17:11.000000000 +0700
@@ -1,3 +1,12 @@
+scalable-cyrfonts (4.12+nmu2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Urgency medium due to lenny-goal bug fix.
+  * Clear obsolete conffiles that were left over from etch for t1-cyrillic,
+    t1-oldslavic and t1-teams. Closes: #455040, #455042, #455043.
+
+ -- Theppitak Karoonboonyanan <[EMAIL PROTECTED]>  Mon, 24 Nov 2008 16:11:38 +0700
+
 scalable-cyrfonts (4.12+nmu1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru scalable-cyrfonts-4.12+nmu1/debian/t1-cyrillic.preinst scalable-cyrfonts-4.12+nmu2/debian/t1-cyrillic.preinst
--- scalable-cyrfonts-4.12+nmu1/debian/t1-cyrillic.preinst	1970-01-01 07:00:00.000000000 +0700
+++ scalable-cyrfonts-4.12+nmu2/debian/t1-cyrillic.preinst	2008-11-24 16:09:25.000000000 +0700
@@ -0,0 +1,37 @@
+#! /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)
+        # clear obsolete conffiles left from etch (4.10-0.1)
+        if dpkg --compare-versions "$2" le "4.12+nmu1"; then
+            rm_conffile "/etc/X11/fonts/X11R7/Type1/t1-cyrillic.scale"
+            rm_conffile "/etc/X11/fonts/X11R7/Type1/t1-cyrillic.alias"
+        fi
+    ;;
+
+    abort-upgrade)
+    ;;
+
+    *)
+        echo "preinst called with unknown argument \`$1'" >&2
+        exit 0
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0
+
+
diff -Nru scalable-cyrfonts-4.12+nmu1/debian/t1-oldslavic.preinst scalable-cyrfonts-4.12+nmu2/debian/t1-oldslavic.preinst
--- scalable-cyrfonts-4.12+nmu1/debian/t1-oldslavic.preinst	1970-01-01 07:00:00.000000000 +0700
+++ scalable-cyrfonts-4.12+nmu2/debian/t1-oldslavic.preinst	2008-11-24 16:10:52.000000000 +0700
@@ -0,0 +1,37 @@
+#! /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)
+        # clear obsolete conffiles left from etch (4.10-0.1)
+        if dpkg --compare-versions "$2" le "4.12+nmu1"; then
+            rm_conffile "/etc/X11/fonts/X11R7/Type1/t1-oldslavic.scale"
+            rm_conffile "/etc/X11/fonts/X11R7/Type1/t1-oldslavic.alias"
+        fi
+    ;;
+
+    abort-upgrade)
+    ;;
+
+    *)
+        echo "preinst called with unknown argument \`$1'" >&2
+        exit 0
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0
+
+
diff -Nru scalable-cyrfonts-4.12+nmu1/debian/t1-teams.preinst scalable-cyrfonts-4.12+nmu2/debian/t1-teams.preinst
--- scalable-cyrfonts-4.12+nmu1/debian/t1-teams.preinst	1970-01-01 07:00:00.000000000 +0700
+++ scalable-cyrfonts-4.12+nmu2/debian/t1-teams.preinst	2008-11-24 16:07:17.000000000 +0700
@@ -0,0 +1,37 @@
+#! /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)
+        # clear obsolete conffiles left from etch (4.10-0.1)
+        if dpkg --compare-versions "$2" le "4.12+nmu1"; then
+            rm_conffile "/etc/X11/fonts/X11R7/Type1/t1-teams.scale"
+            rm_conffile "/etc/X11/fonts/X11R7/Type1/t1-teams.alias"
+        fi
+    ;;
+
+    abort-upgrade)
+    ;;
+
+    *)
+        echo "preinst called with unknown argument \`$1'" >&2
+        exit 0
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0
+
+

Attachment: signature.asc
Description: Digital signature

Reply via email to