aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2011-05-22 23:00:33 +0000
committerPascal Terjan <pterjan@mageia.org>2011-05-22 23:00:33 +0000
commita55c53c65bbc2488e78d361f8cb012e58c242a81 (patch)
tree75a6f5f770d8a86fd1c1a07cecbb78838e35a016
parentb56a032b1c5f446e91b228687ea94b6c1b6bf930 (diff)
downloadiurt-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-xiurt22
-rwxr-xr-xulri3
2 files changed, 4 insertions, 1 deletions
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}) {