+ # Parse list of disabled commands (we need some universal code!)
+
+ if($config->{'disable_commands'})
+ {
+ my @commands;
+
+ foreach my $command(parse_line('\s+',0,$config->{'disable_commands'}))
+ {
+ push(@commands,$command);
+
+ if(exists($disable_dependency{$command}) && $disable_dependency{$command})
+ {
+ if(ref($disable_dependency{$command}) eq 'ARRAY')
+ {
+ push(@commands,@{$disable_dependency{$command}});
+ }
+ else
+ {
+ push(@commands,$disable_dependency{$command});
+ }
+ }
+ }
+
+ $config->{'disable_commands'} = \@commands;
+ }
+ else
+ {
+ $config->{'disable_commands'} = [];
+ }
+