mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
Fix Repology.json (#9739)
This commit is contained in:
committed by
GitHub
parent
1a601b319c
commit
9894fd4d27
@@ -9,6 +9,9 @@ require_relative '../lib/package'
|
||||
output = []
|
||||
|
||||
Dir.glob('../packages/*.rb').each do |filename|
|
||||
# docbook_xml runs code on loading that does not work when chromebrew is not installed.
|
||||
# It shouldn't be doing that, but work around it for now.
|
||||
next if filename.include?('docbook')
|
||||
pkg = Package.load_package(filename)
|
||||
next if pkg.is_fake?
|
||||
output << { name: File.basename(filename, '.rb').gsub('_', '-'), description: pkg.description, homepage: pkg.homepage, version: pkg.version, license: pkg.license, compatibility: pkg.compatibility }
|
||||
|
||||
Reference in New Issue
Block a user