diff options
-rw-r--r-- | perl-install/Makefile.config | 2 | ||||
-rw-r--r-- | perl-install/NEWS | 4 | ||||
-rw-r--r-- | perl-install/any.pm | 7 | ||||
-rw-r--r-- | perl-install/install/NEWS | 4 |
4 files changed, 12 insertions, 5 deletions
diff --git a/perl-install/Makefile.config b/perl-install/Makefile.config index 9883c6e60..b522c643e 100644 --- a/perl-install/Makefile.config +++ b/perl-install/Makefile.config @@ -1,5 +1,5 @@ # -*- Makefile -*- -VERSION:=18.68 +VERSION:=18.69 SUDO = sudo TMPDIR = /tmp diff --git a/perl-install/NEWS b/perl-install/NEWS index a713cb2ac..1f2bb17df 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,7 @@ +- fix bugs in any::sessions() (mga#33738) + +Version 18.69 - 07 June 2025 +- Updated translations - drakautologin now detects and manage Wayland sessions (mga#33738) - bytes_heavy.pl was merged into bytes.pm - Agafari-16 console font support was dropped from kbd diff --git a/perl-install/any.pm b/perl-install/any.pm index bbc051bcc..ab93036dc 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -1150,13 +1150,12 @@ sub ask_user_and_root { } sub sessions() { + my @l; my @dir_wm = qw(xsessions wayland-sessions); foreach my $dwm (@dir_wm) { - my $old = chdir("$::prefix/usr/share/$dwm/"); - my @l = map { s/.desktop$//; $_ } glob("*.desktop"); - chdir($old); - @l; + push @l, map { s/.desktop$//; basename($_) } glob("$::prefix/usr/share/$dwm/*.desktop"); } + @l; } sub sessions_with_order() { my %h = map { /(.*)=(.*)/ } split(' ', run_program::rooted_get_stdout($::prefix, '/usr/sbin/chksession', '-L')); diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index e6d4095d6..68ff176dd 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,7 @@ +- fix bugs in any::sessions() (mga#33738) + +Version 18.69 - 07 June 2025 +- Updated translations - bytes_heavy.pl was merged into bytes.pm - Agafari-16 console font support was dropped from kbd - fix glob for svg pixbuf loader |