mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
Properly handle fake packages in commands/files.rb (#9769)
This commit is contained in:
committed by
GitHub
parent
1efb8808b6
commit
fe3eba4fd4
@@ -10,6 +10,12 @@ class Command
|
||||
return
|
||||
end
|
||||
|
||||
# Fake packages do not have any files.
|
||||
if pkg.is_fake?
|
||||
puts "Package #{pkg.name} is fake and has no files.".lightred
|
||||
return
|
||||
end
|
||||
|
||||
# We can't do anything if we don't have the filelist.
|
||||
unless File.file?(filelist_path = File.join(CREW_META_PATH, "#{pkg.name}.filelist"))
|
||||
puts "Package #{pkg.name} does not have a filelist :(".lightred
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# Defines common constants used in different parts of crew
|
||||
require 'etc'
|
||||
|
||||
CREW_VERSION = '1.47.9'
|
||||
CREW_VERSION = '1.48.0'
|
||||
|
||||
# kernel architecture
|
||||
KERN_ARCH = Etc.uname[:machine]
|
||||
|
||||
Reference in New Issue
Block a user