Explorar el Código

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

Raphaël Hertzog hace 17 años
padre
commit
4264e4fa35
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  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;