From b9ae9ecd24e071c346badbd3ac275469b04429d6 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 29 Dec 2003 07:51:22 +0000 Subject: handle profiles with more than one space/underscore in their name --- control-center | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control-center b/control-center index 1dc51d1b..7cb99c6a 100755 --- a/control-center +++ b/control-center @@ -437,7 +437,7 @@ sub get_path { join('', map { my $i = $_; $i =~ s/_//; $i } @_) } # menus do not like "_" from profiles (whereas netprofile does not like spaces in profile names...) sub profile2menu { my ($profile) = @_; - $profile =~ s/_/ /; + $profile =~ s/_/ /g; "/$profile"; } -- cgit v1.2.1