diff options
-rwxr-xr-x | control-center | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/control-center b/control-center index b2bd9a97..4eb3d6de 100755 --- a/control-center +++ b/control-center @@ -212,9 +212,9 @@ my @tree = if_($::isWiz, [_("Server Configuration"), 'wizard-mdk', [ - ( map { if_(/wizards_lib-(\w+)-\d+.*/ && member($1, keys %wizard), $wizard{$1}) } - split('\n', `rpm -qa | grep wizards_lib-`) - ) + ( map { + if_(-e '/usr/share/wizards/'.$_.'_wizard/'.$_.'.wiz', $wizard{$_}) + } keys %wizard ) ] ]), ); |