Have apt-get wait until it can get a lock

This commit is contained in:
Ian Davis 2022-10-20 17:14:03 +01:00
parent a955a6308a
commit c85a540986

View File

@ -23,7 +23,8 @@ MANAGED_FILES=(
) )
# this is required on digitalocean, which does not have snap seeded correctly at this phase. # this is required on digitalocean, which does not have snap seeded correctly at this phase.
apt-get -y update && apt-get -y reinstall snapd apt-get -y -o DPkg::Lock::Timeout=3 update \
&& apt-get -y -o DPkg::Lock::Timeout=3 reinstall snapd
snap install lotus snap install lotus