Package: defoma
Version: 0.11.10-0.2
Severity: normal
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

 New lintian reports warmings like
 "command-with-path-in-maintainer-script prerm:54 /usr/bin/defoma-font"
 It comes from defoma/debhelper-files/prerm-defoma or so. 

 I made a patch for this, please apply to shut out warning with font
 packages.


- -- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.29-2-686-tomoyo (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages defoma depends on:
ii  file                          5.03-1     Determines file type using "magic"
ii  perl                          5.10.0-23  Larry Wall's Practical Extraction 
ii  whiptail                      0.52.10-4  Displays user-friendly dialog boxe

Versions of packages defoma recommends:
pn  libft-perl                    <none>     (no description available)

Versions of packages defoma suggests:
pn  defoma-doc                    <none>     (no description available)
pn  dfontmgr                      <none>     (no description available)
pn  psfontmgr                     <none>     (no description available)
ii  x-ttcidfont-conf              32         TrueType and CID fonts configurati

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAko7lFUACgkQIu0hy8THJktvsQCeOLbAttr3Ng7j8dn4eJmcHEXT
DPYAoK6Z29JW5Mwn8X15NwiDgd0JTCxp
=g8xy
-----END PGP SIGNATURE-----
diff -urN defoma-0.11.10.original/debhelper-files/postinst-defoma defoma-0.11.10/debhelper-files/postinst-defoma
--- defoma-0.11.10.original/debhelper-files/postinst-defoma	2006-06-18 00:54:22.000000000 +0900
+++ defoma-0.11.10/debhelper-files/postinst-defoma	2009-06-19 22:20:56.000000000 +0900
@@ -1,5 +1,5 @@
 if [ "$1" = "configure" ]; then
 
-  test -x /usr/bin/defoma-app && /usr/bin/defoma-app update #PACKAGE#
+  test -x defoma-app && defoma-app update #PACKAGE#
 
 fi
diff -urN defoma-0.11.10.original/debhelper-files/prerm-defoma defoma-0.11.10/debhelper-files/prerm-defoma
--- defoma-0.11.10.original/debhelper-files/prerm-defoma	2006-06-18 00:54:22.000000000 +0900
+++ defoma-0.11.10/debhelper-files/prerm-defoma	2009-06-19 22:21:19.000000000 +0900
@@ -1,10 +1,10 @@
 case "$1" in
 	upgrade)
-		test -x /usr/bin/defoma-app && \
-			/usr/bin/defoma-app clean #PACKAGE#
+		test -x defoma-app && \
+			defoma-app clean #PACKAGE#
 		;;
 	remove)
-		test -x /usr/bin/defoma-app && \
-			/usr/bin/defoma-app purge #PACKAGE#
+		test -x defoma-app && \
+			defoma-app purge #PACKAGE#
 		;;
 esac
diff -urN defoma-0.11.10.original/debhelper-files/prerm-defoma2 defoma-0.11.10/debhelper-files/prerm-defoma2
--- defoma-0.11.10.original/debhelper-files/prerm-defoma2	2006-06-18 00:54:22.000000000 +0900
+++ defoma-0.11.10/debhelper-files/prerm-defoma2	2009-06-19 22:21:35.000000000 +0900
@@ -1,6 +1,6 @@
 case "$1" in
 	remove)
-		test -x /usr/bin/defoma-app && \
-			/usr/bin/defoma-app purge #PACKAGE#
+		test -x defoma-app && \
+			defoma-app purge #PACKAGE#
 		;;
 esac

Reply via email to