summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakedm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-02-06 16:53:11 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-02-06 16:53:11 +0000
commit6c402648e8218f57f2f402c46dfeefe8c5541ecf (patch)
treeff98a3a142b4025d0f2f1e81e87dd5208e57c286 /perl-install/standalone/drakedm
parentf25430f68e47b5c2cb35f3ad49a3ff581aa53941 (diff)
downloaddrakx-backup-do-not-use-6c402648e8218f57f2f402c46dfeefe8c5541ecf.tar
drakx-backup-do-not-use-6c402648e8218f57f2f402c46dfeefe8c5541ecf.tar.gz
drakx-backup-do-not-use-6c402648e8218f57f2f402c46dfeefe8c5541ecf.tar.bz2
drakx-backup-do-not-use-6c402648e8218f57f2f402c46dfeefe8c5541ecf.tar.xz
drakx-backup-do-not-use-6c402648e8218f57f2f402c46dfeefe8c5541ecf.zip
sanitize
Diffstat (limited to 'perl-install/standalone/drakedm')
-rw-r--r--perl-install/standalone/drakedm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakedm b/perl-install/standalone/drakedm
index e9b516de8..a84cac48e 100644
--- a/perl-install/standalone/drakedm
+++ b/perl-install/standalone/drakedm
@@ -50,7 +50,7 @@ several different X sessions on your local machine at the same time.")),
my $done = 0;
$new_dm = { reverse %dm }->{$new_dm};
substInFile {
- $done ||= s/^(DISPLAYMANAGER)=.*/\1=$new_dm/;
+ $done ||= s/^(DISPLAYMANAGER)=.*/$1=$new_dm/;
print "\nDISPLAYMANAGER=$dm{$dm}" if eof && !$done;
} $cfg_file;
}