mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
crew: Fix remove on reinstall/upgrade (#12520)
* Fix container test workflow Signed-off-by: SupeChicken666 <supechicken666@gmail.com> * Set `force: true` when reinstalling/upgrading Signed-off-by: SupeChicken666 <supechicken666@gmail.com> * Bump version Signed-off-by: SupeChicken666 <supechicken666@gmail.com> * Do not remove user configs on reinstallation Signed-off-by: SupeChicken666 <supechicken666@gmail.com> --------- Signed-off-by: SupeChicken666 <supechicken666@gmail.com>
This commit is contained in:
2
bin/crew
2
bin/crew
@@ -1258,7 +1258,7 @@ def install
|
||||
# remove it just before the file copy
|
||||
if @pkg.in_upgrade
|
||||
puts 'Attempting removal since this is an upgrade or reinstall...'
|
||||
Command.remove(@pkg, verbose: CREW_VERBOSE, force: @opt_force)
|
||||
Command.remove(@pkg, verbose: CREW_VERBOSE, force: true, only_remove_files: true)
|
||||
end
|
||||
|
||||
if @pkg.is_fake?
|
||||
|
||||
Reference in New Issue
Block a user