summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2000-08-23 12:48:15 +0000
committerdamien <damien@mandriva.com>2000-08-23 12:48:15 +0000
commite90ae7987859e093059fabcfd0ebc547954f207e (patch)
tree6fa7bec9535c507a4b17108aa14ba73f48f0dfda /perl-install/any.pm
parent241962df84172b6c863bb7cf6338112ab3a11c49 (diff)
downloaddrakx-e90ae7987859e093059fabcfd0ebc547954f207e.tar
drakx-e90ae7987859e093059fabcfd0ebc547954f207e.tar.gz
drakx-e90ae7987859e093059fabcfd0ebc547954f207e.tar.bz2
drakx-e90ae7987859e093059fabcfd0ebc547954f207e.tar.xz
drakx-e90ae7987859e093059fabcfd0ebc547954f207e.zip
updated isdn card
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 68f7ac515..36d7a7f0f 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -220,7 +220,7 @@ _("Default") => { val => \$default, type => 'bool' },
$b->{default} = $old_default || $default ? $default && $e->{label} : $b->{default};
require bootloader;
bootloader::configure_entry($prefix, $e); #- hack to make sure initrd file are built.
-
+
push @{$b->{entries}}, $e if $c eq "Add";
} else {
@{$b->{entries}} = grep { $_ != $e } @{$b->{entries}};
@@ -231,7 +231,7 @@ _("Default") => { val => \$default, type => 'bool' },
sub setAutologin {
my ($prefix, $user, $wm) = @_;
- my $f = "$prefix/etc/X11/xdm/xdm_config";
+ my $f = "$prefix/etc/X11/xdm/xdm-config";
my $t1 = "DisplayManager._0.autoUser:";
my $t2 = "DisplayManager._0.autoString:";
substInFile { s/^(\Q$t1\E|\Q$t2\E).*\n//; $_ .= "$t1\t$user\n$t2\t$wm\n" if eof && $user } $f;