Package: pciutils
Version: 1:3.1.3-1
Severity: serious
Tags: patch

See 540506, hal can't read pci.ids...

diff -u pciutils-3.1.3/update-pciids.sh pciutils-3.1.3/update-pciids.sh
--- pciutils-3.1.3/update-pciids.sh
+++ pciutils-3.1.3/update-pciids.sh
@@ -34,6 +34,7 @@
 GZIP="/bin/gzip"
 ECHO="/bin/echo"
 CHMOD="/bin/chmod"
+CHOWN="chown"
 GUNZIP="/bin/gunzip"
 BUNZIP2="/bin/bunzip2"
 TOUCH="/usr/bin/touch"
@@ -107,6 +108,8 @@
 
 if [ -f $FILE ]
 then
+    $CHOWN --reference="$FILE" "$NEWFILE"
+    $CHMOD --reference="$FILE" "$NEWFILE"
     [ -f $OLDFILE ] && $RM $OLDFILE
     $MV $FILE $OLDFILE
 fi
diff -u pciutils-3.1.3/debian/changelog pciutils-3.1.3/debian/changelog
--- pciutils-3.1.3/debian/changelog
+++ pciutils-3.1.3/debian/changelog
@@ -1,3 +1,10 @@
+pciutils (1:3.1.3-2) UNRELEASED; urgency=low
+
+  * update-pciids: make sure the new pci.ids file has the same
+    owner/permissions as the old one.
+
+ -- Julien Cristau <[email protected]>  Sun, 09 Aug 2009 16:20:14 +0200
+
 pciutils (1:3.1.3-1) unstable; urgency=low
 
   * New upstream version

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

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

Versions of packages pciutils depends on:
ii  libc6                         2.9-23     GNU C Library: Shared libraries
ii  libpci3                       1:3.1.3-1  Linux PCI Utilities (shared librar

pciutils recommends no packages.

Versions of packages pciutils suggests:
ii  bzip2                       1.0.5-3      high-quality block-sorting file co
ii  curl                        7.19.5-1     Get a file from an HTTP, HTTPS or 
ii  lynx                        2.8.7rel.1-1 Text-mode WWW Browser (transitiona
ii  wget                        1.11.4-4     retrieves files from the web

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to