Update dpkg flags.

dpkg: warning: obsolete option '--print-installation-architecture', please use '--print-architecture' instead.
pull/38/head
Félix Barbeira 8 years ago
parent 2ec37a63b8
commit 94ddb122d1
  1. 2
      apt-mirror

@ -98,7 +98,7 @@ use Fcntl qw(:flock);
my $config_file;
my %config_variables = (
"defaultarch" => `dpkg --print-installation-architecture 2>/dev/null` || 'i386',
"defaultarch" => `dpkg --print-architecture 2>/dev/null` || 'i386',
"nthreads" => 20,
"base_path" => '/var/spool/apt-mirror',
"mirror_path" => '$base_path/mirror',

Loading…
Cancel
Save