r4358 - in glibc-package/trunk/debian: . script.in
Author: aurel32
Date: 2010-06-24 19:01:28 +0000 (Thu, 24 Jun 2010)
New Revision: 4358
Modified:
glibc-package/trunk/debian/changelog
glibc-package/trunk/debian/script.in/nohwcap.sh
Log:
* script.in/nohwcap.sh: consider all packages not in status "n" (not
installed) and not in status "c" (conf-files) as installed. Closes:
bug#586241.
Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog 2010-06-24 18:29:22 UTC (rev 4357)
+++ glibc-package/trunk/debian/changelog 2010-06-24 19:01:28 UTC (rev 4358)
@@ -11,6 +11,9 @@
on ARM, if the executable or shared library has TEXTREL.
* Add patches/any/cvs-__block.diff from upstream to not conflict with
clang.
+ * script.in/nohwcap.sh: consider all packages not in status "n" (not
+ installed) and not in status "c" (conf-files) as installed. Closes:
+ bug#586241.
[ Samuel Thibault ]
* patches/hurd-i386/local-pthread_posix-option.diff: Avoid letting glibc try
@@ -20,7 +23,7 @@
* Add patches/hppa/cvs-vfork.diff to fix stack frame creating during
vfork in multithreaded environments.
- -- Aurelien Jarno <aurel32@debian.org> Thu, 24 Jun 2010 20:23:26 +0200
+ -- Aurelien Jarno <aurel32@debian.org> Thu, 24 Jun 2010 21:01:04 +0200
eglibc (2.11.2-1) unstable; urgency=low
Modified: glibc-package/trunk/debian/script.in/nohwcap.sh
===================================================================
--- glibc-package/trunk/debian/script.in/nohwcap.sh 2010-06-24 18:29:22 UTC (rev 4357)
+++ glibc-package/trunk/debian/script.in/nohwcap.sh 2010-06-24 19:01:28 UTC (rev 4358)
@@ -27,7 +27,7 @@
all_upgraded=yes
if [ -n "$hwcappkgs" ]; then
for pkg in $hwcappkgs ; do
- ver=$(dpkg -l $pkg 2>/dev/null | sed -e '/^i/!d;' -e "s/^i.\s\+$pkg\s\+//;s/\s.*//g")
+ ver=$(dpkg-query -l $pkg 2>/dev/null | sed -e '/^[a-z][a-z]\s/!d;/^.[nc]/d;' -e "s/^..\s\+$pkg\s\+//;s/\s.*//g")
if [ -n "$ver" ] && [ "$ver" != "CURRENT_VER" ]; then
all_upgraded=no
fi
Reply to: