Your message dated Sun, 21 Sep 2008 15:17:58 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Re: dh_installudev generates wrong postinst file
has caused the Debian Bug report #499705,
regarding dh_installudev generates wrong postinst file
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
499705: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=499705
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: debhelper
Version: 7.0.15
Severity: important
File: /usr/bin/dh_installudev
Tags: patch

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

Hi,


dh_installudev generates wrong postinst file, below an example for
dmraid.postinst:

# Automatically added by dh_installudev
if [ "$1" = configure ]; then
        if [ -e "/etc/udev/dmraid.rules" ]; then
                echo "Preserving user changes to 
/etc/udev/rules.d/85_dmraid.rules ..."
                if [ -e "/etc/udev/rules.d/85_dmraid.rules" ]; then
                        mv -f "/etc/udev/rules.d/85_dmraid.rules" 
"/etc/udev/rules.d/85_dmraid.rules.dpkg-new"
                fi
                mv -f "/etc/udev/dmraid.rules" 
"/etc/udev/rules.d/85_dmraid.rules"
        fi
fi
# End automatically added section


Why 'if [ -e "/etc/udev/dmraid.rules" ]' ? 


Attached the trivial patch.

Giuseppe.


- -- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (50, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debhelper depends on:
ii  binutils            2.18.1~cvs20080103-7 The GNU assembler, linker and bina
ii  dpkg-dev            1.14.22              Debian package development tools
ii  file                4.26-1               Determines file type using "magic"
ii  html2text           1.3.2a-5             advanced HTML to text converter
ii  man-db              2.5.2-2              on-line manual pager
ii  perl                5.10.0-13            Larry Wall's Practical Extraction 
ii  po-debconf          1.0.15               manage translated Debconf template

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make                       0.46       tool that converts source archives

- -- no debconf information

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

iEYEARECAAYFAkjWQM0ACgkQNxpp46476aoN7ACfV/De3aRng0tqA/u6huiaMQ7G
+4kAn0ILDQufB3N/OBN58UXk8+9hZKg3
=8brS
-----END PGP SIGNATURE-----
--- autoscripts/postinst-udev.original  2007-12-31 23:45:13.000000000 +0100
+++ autoscripts/postinst-udev   2008-09-21 14:32:54.000000000 +0200
@@ -1,5 +1,5 @@
 if [ "$1" = configure ]; then
-       if [ -e "#OLD#" ]; then
+       if [ -e "#RULE#" ]; then
                echo "Preserving user changes to #RULE# ..."
                if [ -e "#RULE#" ]; then
                        mv -f "#RULE#" "#RULE#.dpkg-new"

--- End Message ---
--- Begin Message ---
Giuseppe Iuculano ha scritto:

> 
> dh_installudev generates wrong postinst file, below an example for
> dmraid.postinst:

I was completely wrong, ignore my bug report.


Giuseppe.

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to