test.sh: now dpkg in testing also creates lock-frontend

This commit is contained in:
Johannes 'josch' Schauer 2018-10-23 19:03:13 +02:00
parent f3d227ae5f
commit 88c0d40b8f
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -146,7 +146,7 @@ for dist in stable testing unstable; do
fi fi
sudo rm debian-$dist-debootstrap/var/lib/dpkg/lock sudo rm debian-$dist-debootstrap/var/lib/dpkg/lock
# introduced in dpkg 1.19.1 # introduced in dpkg 1.19.1
if [ "$dist" = "unstable" ]; then if [ "$dist" != "stable" ]; then
sudo rm debian-$dist-debootstrap/var/lib/dpkg/lock-frontend sudo rm debian-$dist-debootstrap/var/lib/dpkg/lock-frontend
fi fi