2022-07-28 14:58:47 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -eu
|
|
|
|
|
|
|
|
export LC_ALL=C.UTF-8
|
|
|
|
|
|
|
|
ret=0
|
|
|
|
script -qfec "{{ CMD }} --mode={{ MODE }} --variant=apt {{ DIST }} - {{ MIRROR }}" /dev/null || ret=$?
|
|
|
|
if [ "$ret" = 0 ]; then
|
2024-10-11 16:29:25 +00:00
|
|
|
echo expected failure but got exit $ret >&2
|
|
|
|
exit 1
|
2022-07-28 14:58:47 +00:00
|
|
|
fi
|