The new dpkg changes the debian names of the various systems in
/usr/share/dpkg/ostable. Which means that no type-handling doesn't do what's
documented anymore.
For example ``type-handling any linux-gnu'' outputs an empty string instead
of the arch list as should be (and as shown inthe manpage)
The patch bellow together with Depends on dpkg-dev (>= 1.14.0)
should provide reasonable backward compatible results.
Petr
--- type-handling 2007-05-16 00:09:18.000000000 +0200
+++ type-handling 2007-05-16 00:11:18.000000000 +0200
@@ -1,7 +1,7 @@
#!/bin/sh -e
all_cpus=`grep -v ^# /usr/share/dpkg/cputable | (while read debian gnu regex ;
do echo ${debian} ; done)`
-all_systems=`grep -v ^# /usr/share/dpkg/ostable | (while read debian gnu regex
; do echo ${debian} ; done)`
+all_systems=`grep -v ^# /usr/share/dpkg/ostable | (while read debian gnu regex
; do echo ${debian} ; done) | cut -f2 -d- | sort -u`
if [ "$#" = "0" ] ; then
echo "Known cpus: `for i in ${all_cpus} ; do echo -n $i\ ; done`"
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]