diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-09-12 16:23:15 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-09-12 16:23:15 +0000 |
commit | 0f74055f739cfdb5bf5524824dd01e45d50037bf (patch) | |
tree | f8f40426610fe4b9cdebd8e46644c57cef96053e /perl-install | |
parent | 8bcc9984fa76e26fc94c5609bd4bf6e26f0135a7 (diff) | |
download | drakx-backup-do-not-use-0f74055f739cfdb5bf5524824dd01e45d50037bf.tar drakx-backup-do-not-use-0f74055f739cfdb5bf5524824dd01e45d50037bf.tar.gz drakx-backup-do-not-use-0f74055f739cfdb5bf5524824dd01e45d50037bf.tar.bz2 drakx-backup-do-not-use-0f74055f739cfdb5bf5524824dd01e45d50037bf.tar.xz drakx-backup-do-not-use-0f74055f739cfdb5bf5524824dd01e45d50037bf.zip |
fix #5586 (profiles with spaces in name)
Diffstat (limited to 'perl-install')
-rwxr-xr-x | perl-install/standalone/drakconnect | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect index f91700ec5..1a872f19e 100755 --- a/perl-install/standalone/drakconnect +++ b/perl-install/standalone/drakconnect @@ -197,8 +197,9 @@ $window1->{window}->add( clicked => sub { $dialog->destroy }), gtksignal_connect(Gtk2::Button->new(N("Ok")), clicked => sub { #warn if already existing - - network::netconnect::add_profile($netcnx, $entry_dialog->get_text); + my $prof = $entry_dialog->get_text; + $prof =~ s/ /_/g; + network::netconnect::add_profile($netcnx, $prof); update_profiles(); $dialog->destroy; }), |