aboutsummaryrefslogtreecommitdiffstats
path: root/distriblint
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-07-22 08:25:37 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-07-22 08:25:37 +0000
commitb253cf5b1fb2682ff08aa31cddf28ceab496b7d7 (patch)
tree4f414063b337e61738753393e41e9014722e45d6 /distriblint
parent2042214abb62aae04263d18cc2e161fda5354a6e (diff)
downloadrpmtools-4.5.22.tar
rpmtools-4.5.22.tar.gz
rpmtools-4.5.22.tar.bz2
rpmtools-4.5.22.tar.xz
rpmtools-4.5.22.zip
4.5-22mdk: Updates for the new media layout in cooker4.5.22
Diffstat (limited to 'distriblint')
-rwxr-xr-xdistriblint10
1 files changed, 5 insertions, 5 deletions
diff --git a/distriblint b/distriblint
index fa00cbc..5cea290 100755
--- a/distriblint
+++ b/distriblint
@@ -1,6 +1,6 @@
#!/usr/bin/perl
-#- Mandrake Distribution Checker.
+#- Mandrakelinux Distribution Checker.
#- Copyright (C) 2002 MandrakeSoft (fpons@mandrakesoft.com)
#-
#- This program is free software; you can redistribute it and/or modify
@@ -41,15 +41,15 @@ sub pass_get_hdlists {
$o->{c}->("parsing hdlists from distrib $o->{root}.");
local *F;
- open F, "$o->{root}/Mandrake/base/hdlists" or die "unable to open $o->{root}/Mandrake/base/hdlists";
+ open F, "$o->{root}/media/media_info/hdlists" or die "unable to open $o->{root}/media/media_info/hdlists";
foreach (<F>) {
chomp;
s/\s*#.*$//;
/^\s*$/ and next;
m/^\s*(hdlist\S*\.cz2?)\s+(\S+)\s*(.*)$/ or die "invalid hdlist description \"$_\" in hdlists file";
- push @{$o->{hdlists}}, { synthesis => "$o->{root}/Mandrake/base/synthesis.$1",
- hdlist => "$o->{root}/Mandrake/base/$1",
+ push @{$o->{hdlists}}, { synthesis => "$o->{root}/media/media_info/synthesis.$1",
+ hdlist => "$o->{root}/media/media_info/$1",
dir => $2,
descr => $3 };
}
@@ -184,7 +184,7 @@ sub main {
die "usage: $0 --distrib <d>";
}
- #- perform all test, $i is used for pass numbering.
+ #- perform all tests, $i is used for pass numbering.
print "Starting tests...";
my $i = 1;
foreach (@passtest) {