Update odoo-install.sh

This commit is contained in:
CanbiZ 2025-05-14 09:53:01 +02:00
parent 3b0204511a
commit 60dade2ce4

View File

@ -22,9 +22,9 @@ msg_ok "Installed Dependencies"
#PG_VERSION="16" install_postgresql
msg_info "Setup Odoo $RELEASE"
RELEASE=$(curl -fsSL https://nightly.odoo.com/ | grep -oE 'href="[0-9]+\.[0-9]+/nightly"' | head -n1 | cut -d'"' -f2 | cut -d/ -f1)
curl -fsSL https://nightly.odoo.com/$RELEASE/nightly/deb/odoo_$RELEASE.latest_all.deb -o /opt/odoo.deb
msg_info "Setup Odoo $RELEASE"
curl -fsSL https://nightly.odoo.com/${RELEASE}/nightly/deb/odoo_${RELEASE}.latest_all.deb -o /opt/odoo.deb
cd /opt
apt install -y ./odoo.deb
msg_ok "Setup Odoo $RELEASE"