mirror of
https://github.com/lxc/lxc-templates.git
synced 2026-09-19 06:21:29 +00:00
Fix Debian mirror use, bug introduced by latest commits
Signed-off-by: Gregory Duchatelet <gregory.duchatelet@infomaniak.com>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user