From a036d4bd7e338596a71b702344e419abadfb82cc Mon Sep 17 00:00:00 2001 From: Gustavo De Nardin Date: Sat, 10 Mar 2007 07:49:37 +0000 Subject: The extra '/' was causing the string to not be matched by the regexp below for getting $rep_section and $rep_main_section, in the end making the SRPMs of all other subsections be removed when a newer package was uploaded for any subsection. (#28719) --- lib/Youri/Submit/Action/Archive.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/Youri/Submit/Action/Archive.pm b/lib/Youri/Submit/Action/Archive.pm index 965fc64..ef3c326 100644 --- a/lib/Youri/Submit/Action/Archive.pm +++ b/lib/Youri/Submit/Action/Archive.pm @@ -36,7 +36,7 @@ sub run { print "section $section main_section $main_section\n" if $self->{_verbose}; my $arch = $package->get_arch(); $arch = $self->{_noarch} if $arch eq 'noarch'; - my $path = $arch eq 'src' ? "$target/SRPMS/" : "$target/$arch/media"; + my $path = $arch eq 'src' ? "$target/SRPMS" : "$target/$arch/media"; $path = "$repository->{_install_root}/$path"; $path =~ s,/+,/,g; $self->{_verbose} = 1; -- cgit v1.2.1