From 5c7601b67c4d08cf622e6ebb3663d50fb2d39260 Mon Sep 17 00:00:00 2001 From: Botspot Date: Sun, 15 Aug 2021 21:42:57 -0500 Subject: [PATCH] purge-installed: no need to apt_lock_wait twice --- purge-installed | 1 - 1 file changed, 1 deletion(-) diff --git a/purge-installed b/purge-installed index 5405994..e31ac7e 100755 --- a/purge-installed +++ b/purge-installed @@ -31,7 +31,6 @@ appnamehash="$(echo "$app" | md5sum | cut -c1-8 | awk '{print $1}')" if dpkg -l pi-apps-$appnamehash &>/dev/null ;then #new pkg-install implementation - using dummy debs - apt_lock_wait echo -e "\e[97m\nRemoving dummy deb for $app...\e[39m" sudo apt purge -y pi-apps-$appnamehash --autoremove || error "apt failed to purge dummy deb (pi-apps-$appnamehash)!"