modify upgrade command little related to -s option

parent e75361c9
...@@ -323,8 +323,6 @@ end ...@@ -323,8 +323,6 @@ end
def upgrade def upgrade
if @pkgName if @pkgName
search @pkgName
currentVersion = nil currentVersion = nil
@device[:installed_packages].each do |package| @device[:installed_packages].each do |package|
if package[:name] == @pkg.name if package[:name] == @pkg.name
......
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