1
0
mirror of https://github.com/lxc/lxc-templates.git synced 2024-12-22 06:20:13 +00:00

Merge pull request #60 from gregorg/fix-debian-mirror

Fix Debian mirror use, bug introduced by latest commits
This commit is contained in:
Stéphane Graber 2023-11-16 18:33:05 -05:00 committed by GitHub
commit 74a6743241
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -786,7 +786,7 @@ if [ "$arch" = "x86_64" ]; then
fi
release_file=${DEBIAN_MIRROR}/dists/${release}/main/binary-${arch}/Release
release_file=${MIRROR}/dists/${release}/main/binary-${arch}/Release
if ! wget -q -O /dev/null "${release_file}"; then
if [ "${release}" = unstable ] || [ "${release}" = sid ]; then
echo "${arch}/${release} not available on mirror, trying debian ports"