1
0
mirror of https://github.com/lxc/lxc-templates.git synced 2025-08-21 12:20:54 +00:00

Compare commits

..

3 Commits

Author SHA1 Message Date
zhaixiaojuan@loongson.cn
2458e5766c
Merge e0d8f58995d58e4bcd337e80e37ba1ebe29558a2 into 74a6743241a800d0ebc46ff7e73f92272a68a11e 2023-12-04 11:33:46 +00:00
Stéphane Graber
74a6743241
Merge pull request #60 from gregorg/fix-debian-mirror
Fix Debian mirror use, bug introduced by latest commits
2023-11-16 18:33:05 -05:00
Gregory Duchatelet
0499ea96bf Fix Debian mirror use, bug introduced by latest commits
Signed-off-by: Gregory Duchatelet <gregory.duchatelet@infomaniak.com>
2023-11-16 11:49:48 +01:00

View File

@ -793,7 +793,7 @@ if [ "$arch" = "x86_64" ]; then
fi 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 ! wget -q -O /dev/null "${release_file}"; then
if [ "${release}" = unstable ] || [ "${release}" = sid ]; then if [ "${release}" = unstable ] || [ "${release}" = sid ]; then
echo "${arch}/${release} not available on mirror, trying debian ports" echo "${arch}/${release} not available on mirror, trying debian ports"