summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-04-17 15:02:21 +0000
committerThierry Vignaud <tv@mandriva.org>2009-04-17 15:02:21 +0000
commit21257ed80a49705cac8d64288ec641708a8e1807 (patch)
tree5049229ede021d78d92e8cde2d0df64c1b8792ff
parente2035170381d8919add783d2cc5a74dad3125ed4 (diff)
downloadcontrol-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-xcontrol-center2
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;
}