[Bug]: everything
update failure aborts update of multiple apps
#1337
Labels
everything
update failure aborts update of multiple apps
#1337
Prerequisites
Package Name
everything-alpha, everything-beta
Expected/Current Behaviour
Using
scoop update *
to update all applications should continue updating applications even if the update of one fails.This is already the case, for example if an application is still open.
When updating
everything
and thepre_uninstall
script detects that the Everything service is still open and needs admin permissions to stop, however, the update is completely aborted and the other applications will not attempt to update.This of course also occours when manually updating multiple applications at once
Steps to Reproduce
Possible Solution
When encountering that the everything service is still open and admin rights are not present,continue
should probably be used instead ofbreak
, or scoop needs to add extra handling so that usingbreak
in a manifest script does not fully exit.Replacing
break
withcontinue
in the pre_uninstall script does not seem to fix the issue. I do not know why.https://github.com/ScoopInstaller/Scoop/blob/master/libexec/scoop-uninstall.ps1#L46-L66
Scoop and Buckets Version
Scoop Config
PowerShell Version
Additional Softwares
The
extras/everything
package has the same issueThe text was updated successfully, but these errors were encountered: