aboutsummaryrefslogtreecommitdiffstats
path: root/iurt2
diff options
context:
space:
mode:
Diffstat (limited to 'iurt2')
-rwxr-xr-xiurt23
1 files changed, 2 insertions, 1 deletions
diff --git a/iurt2 b/iurt2
index 1ff2f34..17437bf 100755
--- a/iurt2
+++ b/iurt2
@@ -54,6 +54,7 @@ $config->{supported_arch} ||= ['i586', 'x86_64'];
$config->{upload} ||= "$HOME/uploads/";
$config->{local_home} ||= "$HOME";
$config->{base_dir} ||= "$HOME/uploads/";
+$config->{repository} ||= "/mnt/BIG/dis/";
$config->{base_dir} .= $distro_version;
$config->{base_dir} =~ s/community//g;
@@ -114,7 +115,7 @@ my %big;
my %srpm_version;
my @wrong_rpm;
foreach my $arch (@{$config->{supported_arch}}) {
- my $rpms_dir = "/mnt/BIG/dis/$distro_version/$arch/media/$media/";
+ my $rpms_dir = "$config->{repository}/$distro_version/$arch/media/$media/";
print "iurt: checking current packages in $rpms_dir\n";
opendir my $rpmdir, $rpms_dir or next;
foreach my $rpm (readdir $rpmdir) {