make_mirror.sh: install mmdebstrap if ./mmdebstrap doesn't exist

This commit is contained in:
Johannes 'josch' Schauer 2020-11-27 00:54:23 +01:00
parent 2df8581bf9
commit 0b27660468
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -430,6 +430,9 @@ if [ "$HAVE_QEMU" = "yes" ]; then
if [ "$HAVE_PROOT" = "yes" ]; then
pkgs="$pkgs,proot"
fi
if [ ! -e ./mmdebstrap ]; then
pkgs="$pkgs,mmdebstrap"
fi
case "$HOSTARCH" in
amd64|arm64|i386)
pkgs="$pkgs,linux-image-$HOSTARCH"