mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
Simplify device.json handling in lib/fixup.rb (#12799)
* Properly interpolate the printed error message when save_json fails * Fix CREW_ESSENTIAL_PACKAGES being nil on pre glibc standalone i686 * Simplify device.json handling in lib/fixup.rb, removing instance variables and shared state
This commit is contained in:
committed by
GitHub
parent
c235ab2220
commit
a545db0728
3
bin/crew
3
bin/crew
@@ -264,6 +264,9 @@ def update
|
||||
|
||||
# Do any fixups necessary after crew has updated from git.
|
||||
load "#{CREW_LIB_PATH}/lib/fixup.rb"
|
||||
|
||||
# Reload device.json in case it was modified by lib/fixup.rb
|
||||
@device = ConvenienceFunctions.load_symbolized_json
|
||||
end
|
||||
|
||||
# check for outdated installed packages
|
||||
|
||||
Reference in New Issue
Block a user