diff options
author | Pascal Terjan <pterjan@mageia.org> | 2011-05-22 23:00:33 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2011-05-22 23:00:33 +0000 |
commit | a55c53c65bbc2488e78d361f8cb012e58c242a81 (patch) | |
tree | 75a6f5f770d8a86fd1c1a07cecbb78838e35a016 | |
parent | b56a032b1c5f446e91b228687ea94b6c1b6bf930 (diff) | |
download | iurt-a55c53c65bbc2488e78d361f8cb012e58c242a81.tar iurt-a55c53c65bbc2488e78d361f8cb012e58c242a81.tar.gz iurt-a55c53c65bbc2488e78d361f8cb012e58c242a81.tar.bz2 iurt-a55c53c65bbc2488e78d361f8cb012e58c242a81.tar.xz iurt-a55c53c65bbc2488e78d361f8cb012e58c242a81.zip |
Drop line which should never have been commited
-rwxr-xr-x | iurt2 | 2 | ||||
-rwxr-xr-x | ulri | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -37,7 +37,7 @@ use Iurt::Config qw(config_usage get_date get_prefix config_init dump_cache_par use Data::Dumper; use URPM; use Iurt::DKMS; -use lib '/home/iurt/'; + use Iurt::Urpmi; use Iurt::Chroot qw(add_local_user create_temp_chroot remove_chroot clean_unionfs clean_all_unionfs clean_all_chroot_tmp check_build_chroot clean_chroot); use Iurt::Process qw(perform_command clean kill_for_good sudo); @@ -668,6 +668,9 @@ foreach my $prefix (sort keys %pkg_tree) { $cmd =~ s!__DIR__!$path/$prefix!g; $cmd =~ s!__TARGET__!$target!g; $cmd =~ s!__PACKAGER__!$user!g; + my $section = $media; + $section =~ s!/.*\$!!; + $cmd =~ s!__SECTION__!$section!g; my $media_to_add; if (ref $config->{media}{$target}{$media}) { |