diff options
author | Simon Paillard <spaillard@debian.org> | 2014-08-31 11:45:36 +0200 |
---|---|---|
committer | Simon Paillard <spaillard@debian.org> | 2014-08-31 11:48:45 +0200 |
commit | cd7233411695a5ce194add4768a358755214df5f (patch) | |
tree | 770fa24ffeb7769a8bef9c843a8f11a2d69a8e9c | |
parent | 4cd4d2dd402b38dd0836e92b359a4c91d62d1011 (diff) |
-rwxr-xr-x | bin/parse-contents | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/parse-contents b/bin/parse-contents index f764c07..5172b25 100755 --- a/bin/parse-contents +++ b/bin/parse-contents @@ -46,8 +46,8 @@ use Packages::Config qw( $TOPDIR $DBDIR @ARCHIVES @SUITES @ARCHITECTURES ); my @archives = @ARCHIVES; my @suites = @SUITES; my @archs = @ARCHITECTURES; -my %deborts_hash; -@deborts_hash{qw( alpha avr32 hppa m68k powerpcspe sh4 sparc64 )} = (); +my %debports_hash; +@debports_hash{qw( alpha avr32 hppa m68k powerpcspe sh4 sparc64 )} = (); $DBDIR .= "/contents"; mkdirp( $DBDIR ); @@ -144,7 +144,7 @@ for my $suite (@suites) { activate($filelist_db); #FIXME: hardcoded archs. (debports has no contrib/non-free) - if (not exists $deborts_hash{$arch}) { + if (not exists $debports_hash{$arch}) { system("ln", "-sf", basename($filelist_db), "$DBDIR/filelists_${suite}_all.db") == 0 or die "Oops"; |