diff options
Diffstat (limited to 'iurt2')
-rwxr-xr-x | iurt2 | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) { |