Commit cda8c3ae authored by Ed Reel's avatar Ed Reel

Sort instead of cat

parent 81d25c3e
......@@ -173,7 +173,7 @@ end
def files (pkgName)
filelist = "#{CREW_PREFIX}/etc/crew/meta/#{pkgName}.filelist"
if File.exists? "#{filelist}"
system "cat #{filelist}"
system "sort #{filelist}"
lines = `wc -l "#{filelist}"`.strip.split(' ')[0].to_i
puts "Total found: #{lines}".lightgreen
else
......
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