changed odoo to v13 and postgres to v13.16 and use branch odoo-13 in paths

This commit is contained in:
Marcel Walter
2025-10-25 23:25:51 +02:00
parent 5157d79849
commit dd42247725
8 changed files with 31 additions and 27 deletions
+4 -4
View File
@@ -9,7 +9,7 @@ if ! command -v curl >/dev/null 2>&1; then
apt-get update >/dev/null 2>&1
apt-get install -y curl >/dev/null 2>&1
fi
source <(curl -fsSL https://gitea.lan.hobbyhimmel.de/MarcelW/ProxmoxVE-CommunityScripts/raw/branch/main/misc/core.func)
source <(curl -fsSL https://gitea.lan.hobbyhimmel.de/MarcelW/ProxmoxVE-CommunityScripts/raw/branch/odoo-13/misc/core.func)
load_functions
# This function enables IPv6 if it's not disabled and sets verbose mode
verb_ip6() {
@@ -29,7 +29,7 @@ catch_errors() {
# This function handles errors
error_handler() {
source <(curl -fsSL https://gitea.lan.hobbyhimmel.de/MarcelW/ProxmoxVE-CommunityScripts/raw/branch/main/misc/api.func)
source <(curl -fsSL https://gitea.lan.hobbyhimmel.de/MarcelW/ProxmoxVE-CommunityScripts/raw/branch/odoo-13/misc/api.func)
printf "\e[?25h"
local exit_code="$?"
local line_number="$1"
@@ -147,7 +147,7 @@ EOF
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
msg_ok "Updated Container OS"
source <(curl -fsSL https://gitea.lan.hobbyhimmel.de/MarcelW/ProxmoxVE-CommunityScripts/raw/branch/main/misc/tools.func)
source <(curl -fsSL https://gitea.lan.hobbyhimmel.de/MarcelW/ProxmoxVE-CommunityScripts/raw/branch/odoo-13/misc/tools.func)
}
# This function modifies the message of the day (motd) and SSH settings
@@ -197,7 +197,7 @@ EOF
systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
msg_ok "Customized Container"
fi
echo "bash -c \"\$(curl -fsSL https://gitea.lan.hobbyhimmel.de/MarcelW/ProxmoxVE-CommunityScripts/raw/branch/main/ct/${app}.sh)\"" >/usr/bin/update
echo "bash -c \"\$(curl -fsSL https://gitea.lan.hobbyhimmel.de/MarcelW/ProxmoxVE-CommunityScripts/raw/branch/odoo-13/ct/${app}.sh)\"" >/usr/bin/update
chmod +x /usr/bin/update
if [[ -n "${SSH_AUTHORIZED_KEY}" ]]; then