pkg-install: wait for apt locks before installing dummy deb

pull/891/head
Botspot 3 years ago
parent cbbe868177
commit c33ad1270a

@ -179,6 +179,7 @@ if dpkg -l pi-apps-$appnamehash &>/dev/null ;then
sudo apt update &>/dev/null
fi
apt_lock_wait
echo -e "\e[97m\nInstalling dummy deb...\e[39m"
output="$(sudo apt-get install -y --no-install-recommends ~/pi-apps-$appnamehash.deb 2>&1 | reduceapt | tee /dev/stderr )"
rm -f ~/pi-apps-$appnamehash.deb

Loading…
Cancel
Save