summaryrefslogtreecommitdiff
path: root/dselect/methods
diff options
context:
space:
mode:
authorRaphaël Hertzog <hertzog@debian.org>2009-09-26 17:43:57 +0200
committerRaphaël Hertzog <hertzog@debian.org>2009-09-26 19:28:30 +0200
commit4264e4fa35e0e9eb081fce0e63ea65e40b6535d7 (patch)
tree0a1bea7d180b50987445b3ec7eba1de9377a939b /dselect/methods
parentdf6c06c4fb4570abd37fd6ec29a0201a496c4a81 (diff)
downloaddpkg-4264e4fa35e0e9eb081fce0e63ea65e40b6535d7.tar.gz
dselect-ftp: don't use obsolete dpkg --print-installation-architecture
Diffstat (limited to 'dselect/methods')
-rwxr-xr-xdselect/methods/ftp/setup2
-rwxr-xr-xdselect/methods/ftp/update2
2 files changed, 2 insertions, 2 deletions
diff --git a/dselect/methods/ftp/setup b/dselect/methods/ftp/setup
index 61aea3c23..57d9db777 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 43a4ca04b..793009958 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;