diff options
author | damien <damien@mandriva.com> | 2002-03-07 12:42:03 +0000 |
---|---|---|
committer | damien <damien@mandriva.com> | 2002-03-07 12:42:03 +0000 |
commit | afc9b22ab0c5f10ce48ccef427df0a79bcd11c3d (patch) | |
tree | b16bc141d7beb40fc02e63cb1bfbd76f25ec3930 | |
parent | 4ca5e26be95eb3a3a856cc209357976632869794 (diff) | |
download | control-center-afc9b22ab0c5f10ce48ccef427df0a79bcd11c3d.tar control-center-afc9b22ab0c5f10ce48ccef427df0a79bcd11c3d.tar.gz control-center-afc9b22ab0c5f10ce48ccef427df0a79bcd11c3d.tar.bz2 control-center-afc9b22ab0c5f10ce48ccef427df0a79bcd11c3d.tar.xz control-center-afc9b22ab0c5f10ce48ccef427df0a79bcd11c3d.zip |
no more rpm -qa
-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 ) ] ]), ); |