mirror of
https://github.com/lxc/lxc-templates.git
synced 2026-09-19 06:31:31 +00:00
lxc-debian: Add oldstable and oldoldstable to permanent releases
Signed-off-by: Arnaud Rebillout <arnaudr@debian.org>
This commit is contained in:
committed by
Arnaud Rebillout
parent
0d0ae9f09e
commit
e21dc0318b
@@ -888,7 +888,7 @@ if [ -n "$authkey" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
release=${release:-stable}
|
release=${release:-stable}
|
||||||
permanent_releases=('stable' 'testing' 'sid' 'unstable')
|
permanent_releases=('oldoldstable' 'oldstable' 'stable' 'testing' 'sid' 'unstable')
|
||||||
if [[ ! "${permanent_releases[*]}" =~ (^|[^[:alpha:]])$release([^[:alpha:]]|$) ]]; then
|
if [[ ! "${permanent_releases[*]}" =~ (^|[^[:alpha:]])$release([^[:alpha:]]|$) ]]; then
|
||||||
if ! release_info "${MIRROR}"; then
|
if ! release_info "${MIRROR}"; then
|
||||||
echo "Invalid release ${release} (not found in mirror)"
|
echo "Invalid release ${release} (not found in mirror)"
|
||||||
|
|||||||
Reference in New Issue
Block a user