From c78c74285cbbb2c432f7e1457f2dbe3fb145215c Mon Sep 17 00:00:00 2001 From: "r.perez" Date: Fri, 7 Feb 2025 11:47:13 -0500 Subject: [PATCH] [FIX] Update repository sources for Debian Jessie for doodba 10 and below --- ...% if odoo_version < 11 %}20-update-repos{% endif %}.jinja} | 4 ++++ 1 file changed, 4 insertions(+) rename odoo/custom/build.d/{{% if odoo_version < 11 %}20-update-pg-repos{% endif %}.jinja => {% if odoo_version < 11 %}20-update-repos{% endif %}.jinja} (60%) diff --git a/odoo/custom/build.d/{% if odoo_version < 11 %}20-update-pg-repos{% endif %}.jinja b/odoo/custom/build.d/{% if odoo_version < 11 %}20-update-repos{% endif %}.jinja similarity index 60% rename from odoo/custom/build.d/{% if odoo_version < 11 %}20-update-pg-repos{% endif %}.jinja rename to odoo/custom/build.d/{% if odoo_version < 11 %}20-update-repos{% endif %}.jinja index c7883530..584f9fb8 100755 --- a/odoo/custom/build.d/{% if odoo_version < 11 %}20-update-pg-repos{% endif %}.jinja +++ b/odoo/custom/build.d/{% if odoo_version < 11 %}20-update-repos{% endif %}.jinja @@ -1,4 +1,8 @@ #!/bin/bash +## Use jessie from archive +echo "deb http://archive.debian.org/debian jessie main" > /etc/apt/sources.list +echo "deb http://archive.debian.org/debian-security jessie/updates main" >> /etc/apt/sources.list +## Update pg repos # First one removes the current line echo "deb https://apt-archive.postgresql.org/pub/repos/apt jessie-pgdg-archive main" > /etc/apt/sources.list.d/postgresql.list # Second one appends