Change crew to check internal hash table instead of directory

parent 53da19cb
......@@ -124,8 +124,8 @@ end
def print_package(pkgName, extra = false)
search pkgName, true
Find.find(CREW_CONFIG_PATH + 'meta/') do |packageList|
print '(i) '.lightgreen if packageList == CREW_CONFIG_PATH + 'meta/' + pkgName + '.filelist'
print '(i) '.lightgreen if @device[:installed_packages].any? do |elem|
elem[:name] == pkgName
end
print @pkg.name
print ": #{@pkg.description}" if @pkg.description
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment