diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-04-17 15:02:21 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-04-17 15:02:21 +0000 |
commit | 21257ed80a49705cac8d64288ec641708a8e1807 (patch) | |
tree | 5049229ede021d78d92e8cde2d0df64c1b8792ff | |
parent | e2035170381d8919add783d2cc5a74dad3125ed4 (diff) | |
download | control-center-21257ed80a49705cac8d64288ec641708a8e1807.tar control-center-21257ed80a49705cac8d64288ec641708a8e1807.tar.gz control-center-21257ed80a49705cac8d64288ec641708a8e1807.tar.bz2 control-center-21257ed80a49705cac8d64288ec641708a8e1807.tar.xz control-center-21257ed80a49705cac8d64288ec641708a8e1807.zip |
(clean_list) do not complain when a tool is disabled _and_ missing
-rwxr-xr-x | control-center | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/control-center b/control-center index de5885a8..e4c738f9 100755 --- a/control-center +++ b/control-center @@ -783,7 +783,7 @@ sub clean_list { my $exec = first(split /\s+/, $programs{$stuff}{binary}); my $is_present = -x $exec; # do not complain about missing entries in move: - warn qq("$exec" is not executable [$stuff]) if $mdk_rel !~ /Move/ && !$is_present; + warn qq("$exec" is not executable [$stuff]) if $mdk_rel !~ /Move/ && !$is_present && !$programs{$stuff}{disabled}; !$programs{$stuff}{hidden} && $is_present && !$programs{$stuff}{disabled}; } @$subtree; } |