summaryrefslogtreecommitdiffstats
path: root/packer
diff options
context:
space:
mode:
Diffstat (limited to 'packer')
-rw-r--r--packer/provision/baseline.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/packer/provision/baseline.sh b/packer/provision/baseline.sh
index 99e7460cf..87c777699 100644
--- a/packer/provision/baseline.sh
+++ b/packer/provision/baseline.sh
@@ -122,7 +122,7 @@ EOF
i=0
tput sc
-while fuser /var/lib/dpkg/lock >/dev/null 2>&1 ; do
+while [ fuser /var/lib/dpkg/lock >/dev/null 2>&1 || fuser /var/lib/apt/lists/lock >/dev/null 2>&1 ]; do
case $(($i % 4)) in
0 ) j="-" ;;
1 ) j="\\" ;;