소스 검색

dselect-ftp: don't use obsolete dpkg --print-installation-architecture

Raphaël Hertzog 17 년 전
부모
커밋
4264e4fa35
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      dselect/methods/ftp/setup
  2. 1 1
      dselect/methods/ftp/update

+ 1 - 1
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;
 

+ 1 - 1
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;