|
|
|
|
@ -405,6 +405,12 @@ class ProjectsActions
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
rpm_signed_list = get_rpms_list(sign_repo_path)
|
|
|
|
|
if rpm_signed_list.length > rpm_list.length
|
|
|
|
|
rpms_for_delete = get_rpms_list_full(sign_repo_path)
|
|
|
|
|
rpms_for_delete.each do |item|
|
|
|
|
|
File.unlink(item)
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
rpm_list = rpm_list.select do |item|
|
|
|
|
|
sign_repo_path_rpm = File.join(sign_repo_path, item)
|
|
|
|
|
unless File.exist?(sign_repo_path_rpm)
|
|
|
|
|
|