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:
commit
74a6743241
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user