Merge pull request #38 from fbarbeira/patch-1

Use 'dpkg --print-architecture' instead of deprecated --print-installation-architecture
pull/40/head
Benjamin Drung 8 years ago
commit eb8b34d89a
  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