Package: debget
Version: 1.6+nmu1
Severity: minor
Tags: patch

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

rangda[/home/sean/debian] debget -b php5                                     :)
dpkg: warning: obsolete option '--print-installation-architecture', please use 
'--print-architecture' instead.
<snip>

patch attached.

        sean


- -- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debget depends on:
ii  libapt-pkg-perl               0.1.24     Perl interface to libapt-pkg
ii  libproc-waitstat-perl         1.00-4     interpret and act on wait() status
ii  libwww-perl                   5.834-1    Perl HTTP/WWW client/server librar
ii  perl                          5.10.1-11  Larry Wall's Practical Extraction 
ii  perl-modules [libnet-perl]    5.10.1-11  Core Perl modules

debget recommends no packages.

Versions of packages debget suggests:
ii  devscripts                    2.10.61    scripts to make the life of a Debi

- -- no debconf information

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

iD8DBQFLeB/EynjLPm522B0RAo7RAJwKvnSvYMaWSjvdxvMO/QPQDAIAAgCbB9Ld
kDl1ONQjTFJSQ80z/SHS8+0=
=LKpD
-----END PGP SIGNATURE-----
--- debget.old  2010-02-14 17:05:55.000000000 +0100
+++ debget      2010-02-14 17:06:11.000000000 +0100
@@ -240,7 +240,7 @@
 
 sub arch {
     if (!defined $O{'arch'}) {
-       chomp($O{'arch'} = `dpkg --print-installation-architecture`);
+       chomp($O{'arch'} = `dpkg --print-architecture`);
        waitstat_die $?, 'dpkg';
        $O{'arch'} ne '' or xdie "dpkg didn't print the architecture";
     }
@@ -731,7 +731,7 @@
 =item B<--arch> I<arch>
 
 Specify the installation architecture (used to find binary packages).
-The default is the output of C<dpkg --print-installation-architecture>.
+The default is the output of C<dpkg --print-architecture>.
 
 =item B<-b>, B<--binary>
 

Reply via email to