mirror of
https://github.com/lxc/lxc-templates.git
synced 2025-04-14 04:27:16 +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
|
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"
|
||||||
|
Loading…
Reference in New Issue
Block a user