mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
Fix install issue on total_size 0 for glibc_fallthrough (#13677)
This commit is contained in:
2
bin/crew
2
bin/crew
@@ -963,7 +963,7 @@ def prepare_package(destdir)
|
||||
|
||||
# If the package is completely empty, something has probably gone wrong.
|
||||
total_size = filelist.values.sum
|
||||
abort 'total_size is 0. It seems that no files were installed.'.lightred if total_size.zero?
|
||||
abort 'total_size is 0. It seems that no files were installed.'.lightred if total_size.zero? && @pkg.name != 'glibc_fallthrough'
|
||||
|
||||
File.write 'filelist', <<~EOF
|
||||
# Total size: #{total_size}
|
||||
|
||||
Reference in New Issue
Block a user