Skip to content

Commit

Permalink
Fix Debian mirror use, bug introduced by latest commits
Browse files Browse the repository at this point in the history
Signed-off-by: Gregory Duchatelet <[email protected]>
  • Loading branch information
Gregory Duchatelet committed Nov 16, 2023
1 parent 52cd46d commit 0499ea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/lxc-debian.in
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 0499ea9

Please sign in to comment.