Code refactoring v2.0
This commit is contained in:
parent
d25fc5ce50
commit
306c19061e
@ -70,8 +70,6 @@ class DependencyCollector
|
|||||||
Dependency.new("xz", tags)
|
Dependency.new("xz", tags)
|
||||||
end
|
end
|
||||||
|
|
||||||
def ld64_dep_if_needed(*); end
|
|
||||||
|
|
||||||
def zip_dep_if_needed(tags)
|
def zip_dep_if_needed(tags)
|
||||||
Dependency.new("zip", tags) unless which("zip")
|
Dependency.new("zip", tags) unless which("zip")
|
||||||
end
|
end
|
||||||
@ -80,6 +78,8 @@ class DependencyCollector
|
|||||||
Dependency.new("bzip2", tags) unless which("bzip2")
|
Dependency.new("bzip2", tags) unless which("bzip2")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def ld64_dep_if_needed(*); end
|
||||||
|
|
||||||
def self.tar_needs_xz_dependency?
|
def self.tar_needs_xz_dependency?
|
||||||
!new.xz_dep_if_needed([]).nil?
|
!new.xz_dep_if_needed([]).nil?
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user