diff options
-rw-r--r-- | perl-install/lang.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm index 4eed2a53a..26644873a 100644 --- a/perl-install/lang.pm +++ b/perl-install/lang.pm @@ -536,6 +536,11 @@ my @sessions = any::sessions(); my $is_kde = member('KDE', @sessions); my $is_gtj = any { !/KDE/i } @sessions; +sub packages_if_desktop { + my ($packages, $cdt, $extra_pkg) = @_; + join(' ', $packages, if_($cdt, $extra_pkg)); +} + # keep the 'packages' field in sync with share/rpmsrate: my %IM_config = ( |