Package: defoma
Version: 0.11.10-2
Severity: important
Tags: patch

Hi,

 The font packages created with defoma 0.11.10-2 and dh_installdefoma are not
 able to remove, because the bug was introduced in previous version

diff -urN defoma-0.11.10.previous/debhelper-files/prerm-defoma-hints 
defoma-0.11.10/debhelper-files/prerm-defoma-hints
--- defoma-0.11.10.previous/debhelper-files/prerm-defoma-hints  2006-06-18 
00:54:22.000000000 +0900
+++ defoma-0.11.10/debhelper-files/prerm-defoma-hints   2009-11-09 
02:29:02.000000000 +0900
@@ -1,4 +1,4 @@
 FILE='/etc/defoma/hints/#PACKAGE#.hints'
 if [ "$1" = remove ]; then
-       test -x /usr/bin/defoma-font && /usr/bin/defoma-font purge-all $FILE
+       test -x `which defoma-font` && defoma-font update #PACKAGE#
 fi

 it should be "purge-all" but it was changed to "update".


 FILE='/etc/defoma/hints/#PACKAGE#.hints'
 if [ "$1" = remove ]; then
-       test -x `which defoma-font` && defoma-font update #PACKAGE#
+       test -x `which defoma-font` && defoma-font purge-all #PACKAGE#
 fi



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to