Fix crew upgrade (#6305)

* Update crew

* Update const.rb
This commit is contained in:
supechicken
2021-10-16 11:49:36 +08:00
committed by GitHub
parent 5ba59f9dd8
commit a37fc5bccf
2 changed files with 2 additions and 2 deletions

View File

@@ -575,7 +575,7 @@ def upgrade
# Check version number of installed package and make a target list
toBeUpdated = []
dependencies.each do |dep|
package = @device[:installed_packages].select {|pkg| pkg[:name] == dep}
package = @device[:installed_packages].select {|pkg| pkg[:name] == dep} [0]
next unless package
search package[:name], true
if package[:version] != @pkg.version

View File

@@ -1,6 +1,6 @@
# Defines common constants used in different parts of crew
CREW_VERSION = '1.17.2'
CREW_VERSION = '1.17.3'
ARCH_ACTUAL = `uname -m`.chomp
# This helps with virtualized builds on aarch64 machines