diff options
Diffstat (limited to 'perl-install/standalone')
-rw-r--r-- | perl-install/standalone/drakedm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakedm b/perl-install/standalone/drakedm index 2a76e31ef..43e665a91 100644 --- a/perl-install/standalone/drakedm +++ b/perl-install/standalone/drakedm @@ -51,7 +51,7 @@ several different X sessions on your local machine at the same time.")), $new_dm = { reverse %dm }->{$new_dm}; substInFile { s/^(DISPLAYMANAGER)=.*(\n|)//; - print "\nDISPLAYMANAGER=$new_dm" if eof; + $_ .= "\nDISPLAYMANAGER=$new_dm" if eof; } $cfg_file; } |