diff options
author | Florent Villard <warly@mandriva.com> | 2005-12-13 18:35:18 +0000 |
---|---|---|
committer | Florent Villard <warly@mandriva.com> | 2005-12-13 18:35:18 +0000 |
commit | 3098f0048f78fe3f8119573bdc89e1ba5b3da42d (patch) | |
tree | fcaab3d6b9f8b3423d96003135d8e626ac197156 /iurt2 | |
parent | 0ff5bc3e24891ed2055f2694a9885a017b24df09 (diff) | |
download | iurt-3098f0048f78fe3f8119573bdc89e1ba5b3da42d.tar iurt-3098f0048f78fe3f8119573bdc89e1ba5b3da42d.tar.gz iurt-3098f0048f78fe3f8119573bdc89e1ba5b3da42d.tar.bz2 iurt-3098f0048f78fe3f8119573bdc89e1ba5b3da42d.tar.xz iurt-3098f0048f78fe3f8119573bdc89e1ba5b3da42d.zip |
Add /mnt/BIG/dis path in the config file
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) { |