mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2025-12-16 09:12:35 +00:00
27 lines
509 B
Ruby
27 lines
509 B
Ruby
class W3DHub
|
|
class ApplicationManager
|
|
class Repairer < Task
|
|
def type
|
|
:repairer
|
|
end
|
|
|
|
def execute_task
|
|
fail_fast
|
|
return false if failed?
|
|
|
|
manifests = fetch_manifests
|
|
return false if failed?
|
|
|
|
packages = build_package_list(manifests)
|
|
return false if failed?
|
|
|
|
verify_files(manifests, packages)
|
|
return false if failed?
|
|
|
|
# pp packages.select { |pkg| pkg.name == "misc" }
|
|
|
|
true
|
|
end
|
|
end
|
|
end
|
|
end |