The following commit has been merged in the master branch:
commit 4264e4fa35e0e9eb081fce0e63ea65e40b6535d7
Author: Raphaël Hertzog <[email protected]>
Date: Sat Sep 26 17:43:57 2009 +0200
dselect-ftp: don't use obsolete dpkg --print-installation-architecture
diff --git a/dselect/methods/ftp/setup b/dselect/methods/ftp/setup
index 61aea3c..57d9db7 100755
--- a/dselect/methods/ftp/setup
+++ b/dselect/methods/ftp/setup
@@ -34,7 +34,7 @@ if ($option eq "manual") {
#print "vardir: $vardir, method: $method, option: $option\n";
#Defaults
-my $arch=`dpkg --print-installation-architecture`;
+my $arch=`dpkg --print-architecture`;
$arch='i386' if $?;
chomp $arch;
diff --git a/dselect/methods/ftp/update b/dselect/methods/ftp/update
index 43a4ca0..7930099 100755
--- a/dselect/methods/ftp/update
+++ b/dselect/methods/ftp/update
@@ -46,7 +46,7 @@ if ($option eq "manual") {
#print "vardir: $vardir, method: $method, option: $option\n";
-my $arch=`dpkg --print-installation-architecture`;
+my $arch=`dpkg --print-architecture`;
$arch='i386' if $?;
chomp $arch;
my $exit = 0;
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]