summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-02-25 13:59:22 +0000
committerThierry Vignaud <tv@mandriva.org>2008-02-25 13:59:22 +0000
commitd7219bbc1a55bfc91bfd8f90da33bc00cfb97a7b (patch)
tree4c83433040637be56731555fdc7fd792a2216450 /perl-install
parent83b19474f78117b6e195f56abd8972dd48df592a (diff)
downloaddrakx-d7219bbc1a55bfc91bfd8f90da33bc00cfb97a7b.tar
drakx-d7219bbc1a55bfc91bfd8f90da33bc00cfb97a7b.tar.gz
drakx-d7219bbc1a55bfc91bfd8f90da33bc00cfb97a7b.tar.bz2
drakx-d7219bbc1a55bfc91bfd8f90da33bc00cfb97a7b.tar.xz
drakx-d7219bbc1a55bfc91bfd8f90da33bc00cfb97a7b.zip
(autologin_choice) make sure users are not listed twice (#38116)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS2
-rwxr-xr-xperl-install/standalone/drakboot2
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index f75d75665..ec1a59ed4 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,5 @@
+- drakboot:
+ o make sure users are not listed twice (#38116)
- diskdrake:
o jfsprogs is now jfsutils
- drop support for arch now that rpmdrake-4.3 dropped it
diff --git a/perl-install/standalone/drakboot b/perl-install/standalone/drakboot
index 1d71f6bd8..08ce80345 100755
--- a/perl-install/standalone/drakboot
+++ b/perl-install/standalone/drakboot
@@ -171,7 +171,7 @@ sub splash_choice() {
}
sub autologin_choice() {
- my @users = sort(list_users());
+ my @users = uniq(sort(list_users()));
my @sessions = sort(split(' ', `/usr/sbin/chksession -l`));
my $x_mode = Xconfig::various::runlevel() == 5;