summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-07-09 14:17:43 +0000
committerOlivier Blin <oblin@mandriva.com>2008-07-09 14:17:43 +0000
commiteb6ab3abc567974221d35270bb0f189675dd4798 (patch)
tree9526cb328369e69fededd667090e840a63463f9c /perl-install/any.pm
parentd6b9b8ab1743254e3a3644bff78d165f7d1020e6 (diff)
downloaddrakx-eb6ab3abc567974221d35270bb0f189675dd4798.tar
drakx-eb6ab3abc567974221d35270bb0f189675dd4798.tar.gz
drakx-eb6ab3abc567974221d35270bb0f189675dd4798.tar.bz2
drakx-eb6ab3abc567974221d35270bb0f189675dd4798.tar.xz
drakx-eb6ab3abc567974221d35270bb0f189675dd4798.zip
update autologin file path for kdm4
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 8b21db944..5fd4e0a44 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -606,7 +606,7 @@ You can create additional entries or change the existing ones."), [ {
sub get_autologin() {
my %desktop = getVarsFromSh("$::prefix/etc/sysconfig/desktop");
my $gdm_file = "$::prefix/etc/X11/gdm/custom.conf";
- my $kdm_file = "$::prefix/etc/kde/kdm/kdmrc";
+ my $kdm_file = "$::prefix/usr/share/config/kdm/kdmrc";
my $desktop = $desktop{DESKTOP} || (! -e $kdm_file && -e $gdm_file ? 'GNOME' : 'KDE');
my $autologin = do {
if (($desktop{DISPLAYMANAGER} || $desktop) eq 'GNOME') {
@@ -626,7 +626,8 @@ sub set_autologin {
my $autologin = bool2text($o_user);
#- Configure KDM / MDKKDM
- eval { common::update_gnomekderc_no_create("$::prefix/etc/kde/kdm/kdmrc", 'X-:0-Core' => (
+ #- /usr/share/config/kdm/kdmrc is an alternative pointing in /var
+ eval { common::update_gnomekderc_no_create("$::prefix/usr/share/config/kdm/kdmrc", 'X-:0-Core' => (
AutoLoginEnable => $autologin,
AutoLoginUser => $o_user,
)) };