diff options
author | Pascal Terjan <pterjan@mageia.org> | 2017-10-03 21:15:55 +0100 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2017-10-03 21:15:55 +0100 |
commit | dea3a04ed6f12ce19c54487e61e55f06b9a263dd (patch) | |
tree | b503f703a224a401a4ef978884b84e97e91f1467 | |
parent | 89b85b18148195afc3f2c313a4cfe50560c3cf5d (diff) | |
download | iurt-dea3a04ed6f12ce19c54487e61e55f06b9a263dd.tar iurt-dea3a04ed6f12ce19c54487e61e55f06b9a263dd.tar.gz iurt-dea3a04ed6f12ce19c54487e61e55f06b9a263dd.tar.bz2 iurt-dea3a04ed6f12ce19c54487e61e55f06b9a263dd.tar.xz iurt-dea3a04ed6f12ce19c54487e61e55f06b9a263dd.zip |
Kill dead code
-rwxr-xr-x | iurt | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -1273,17 +1273,6 @@ sub write_status { } } -sub find_provides { - my ($pack_provide, $p) = @_; - my @rpm; - foreach my $provides (keys %{pack_provide}) { - if ($provides =~ /$p/ && $provides =~ /devel/) { - push @rpm, $pack_provide->{$provides}; - } - } - @rpm; -} - sub check_sudo_access() { return 0 == system("$sudo -l -n $config->{iurt_root_command} &>/dev/null </dev/null"); } |