mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-10-02 17:13:13 +02:00
odoo: move to Debian 13 and stay on the installed major on update (#17581)
This commit is contained in:
committed by
GitHub
parent
59ba67b866
commit
9b82dd4248
+2
-2
@@ -13,7 +13,7 @@ var_disk="${var_disk:-6}"
|
||||
var_cpu="${var_cpu:-2}"
|
||||
var_ram="${var_ram:-2048}"
|
||||
var_os="${var_os:-debian}"
|
||||
var_version="${var_version:-12}"
|
||||
var_version="${var_version:-13}"
|
||||
var_arm64="${var_arm64:-yes}"
|
||||
var_unprivileged="${var_unprivileged:-1}"
|
||||
|
||||
@@ -45,7 +45,7 @@ function update_script() {
|
||||
systemctl start odoo
|
||||
fi
|
||||
|
||||
RELEASE=$(curl -fsSL https://nightly.odoo.com/ | grep -oE 'href="[0-9]+\.[0-9]+/nightly"' | head -n1 | cut -d'"' -f2 | cut -d/ -f1)
|
||||
RELEASE=$(dpkg-query -W -f='${Version}' odoo | grep -oE '^[0-9]+\.[0-9]+')
|
||||
LATEST_VERSION=$(curl -fsSL "https://nightly.odoo.com/${RELEASE}/nightly/deb/" |
|
||||
grep -oP "odoo_${RELEASE}\.\d+_all\.deb" |
|
||||
sed -E "s/odoo_(${RELEASE}\.[0-9]+)_all\.deb/\1/" |
|
||||
|
||||
Reference in New Issue
Block a user