forked from mirrors/gecko-dev
Bug 1896800 - Wait for snap changes to complete r=benchatt
Differential Revision: https://phabricator.services.mozilla.com/D210768
This commit is contained in:
parent
090ad839d5
commit
cdc840800e
1 changed files with 8 additions and 0 deletions
|
|
@ -46,6 +46,14 @@ fi;
|
|||
|
||||
sudo snap refresh --hold=24h firefox
|
||||
|
||||
while true; do
|
||||
if snap changes 2>&1 | grep -E '(Doing|Undoing|Do\s|restarting)'; then
|
||||
echo wait; sleep 0.5
|
||||
else
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
sudo snap install --name firefox --dangerous ./firefox.snap
|
||||
|
||||
RUNTIME_VERSION=$(snap run firefox --version | awk '{ print $3 }')
|
||||
|
|
|
|||
Loading…
Reference in a new issue