ubuntu: use old-releases.ubuntu.com for old lunar (going away)

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
main
Robert Nelson 1 week ago
parent 6395740487
commit 1275d33401

@ -75,6 +75,9 @@ cp -v ./ignore/.root/etc/bbb.io/templates/nginx/nginx-autoindex ./ignore/.root/e
cp -v ./ignore/.root/etc/bbb.io/templates/nginx/*.html ./ignore/.root/var/www/html/ cp -v ./ignore/.root/etc/bbb.io/templates/nginx/*.html ./ignore/.root/var/www/html/
rm -f ./ignore/.root/var/www/html/index.nginx-debian.html || true rm -f ./ignore/.root/var/www/html/index.nginx-debian.html || true
#Ubuntu Lunar is eol, switch to old-release for testing...
sed -i -e 's:ports.ubuntu.com:old-releases.ubuntu.com/ubuntu:g' ./ignore/.root/etc//apt/sources.list
if [ -f ./deploy/.modules ] ; then if [ -f ./deploy/.modules ] ; then
version=$(cat ./deploy/.modules || true) version=$(cat ./deploy/.modules || true)
if [ -f ./deploy/${version}-modules.tar.gz ] ; then if [ -f ./deploy/${version}-modules.tar.gz ] ; then

Loading…
Cancel
Save