aboutsummaryrefslogtreecommitdiffstats
path: root/ulri
diff options
context:
space:
mode:
Diffstat (limited to 'ulri')
-rwxr-xr-xulri3
1 files changed, 3 insertions, 0 deletions
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}) {