From a55c53c65bbc2488e78d361f8cb012e58c242a81 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Sun, 22 May 2011 23:00:33 +0000 Subject: Drop line which should never have been commited --- iurt2 | 2 +- ulri | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/iurt2 b/iurt2 index 5220f0d..93b95b9 100755 --- a/iurt2 +++ b/iurt2 @@ -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); diff --git a/ulri b/ulri index ce56a84..d6e3a45 100755 --- a/ulri +++ b/ulri @@ -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}) { -- cgit v1.2.1