keg: add python_pth_files_installed? helper
This commit is contained in:
parent
b584689afa
commit
daabf4f5dc
@ -230,6 +230,10 @@ class Keg
|
||||
path.join("lib", "python2.7", "site-packages").directory?
|
||||
end
|
||||
|
||||
def python_pth_files_installed?
|
||||
Dir["#{path}/lib/python2.7/site-packages/*.pth"].any?
|
||||
end
|
||||
|
||||
def app_installed?
|
||||
Dir["#{path}/{,libexec/}*.app"].any?
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user