aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2017-10-03 21:15:55 +0100
committerPascal Terjan <pterjan@mageia.org>2017-10-03 21:15:55 +0100
commitdea3a04ed6f12ce19c54487e61e55f06b9a263dd (patch)
treeb503f703a224a401a4ef978884b84e97e91f1467
parent89b85b18148195afc3f2c313a4cfe50560c3cf5d (diff)
downloadiurt-dea3a04ed6f12ce19c54487e61e55f06b9a263dd.tar
iurt-dea3a04ed6f12ce19c54487e61e55f06b9a263dd.tar.gz
iurt-dea3a04ed6f12ce19c54487e61e55f06b9a263dd.tar.bz2
iurt-dea3a04ed6f12ce19c54487e61e55f06b9a263dd.tar.xz
iurt-dea3a04ed6f12ce19c54487e61e55f06b9a263dd.zip
Kill dead code
-rwxr-xr-xiurt11
1 files changed, 0 insertions, 11 deletions
diff --git a/iurt b/iurt
index 3b362c9..65f3096 100755
--- a/iurt
+++ b/iurt
@@ -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");
}