try more
This commit is contained in:
parent
006fa8a284
commit
9e316141d0
|
|
@ -36,7 +36,7 @@ function update_script() {
|
||||||
fi
|
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=$(curl -fsSL https://nightly.odoo.com/ | grep -oE 'href="[0-9]+\.[0-9]+/nightly"' | head -n1 | cut -d'"' -f2 | cut -d/ -f1)
|
||||||
msg_info "Skipping installation of recent v${RELEASE} and installing v13.0 instead"
|
msg_ok "Skipping installation of recent v$RELEASE and installing v13.0 instead"
|
||||||
RELEASE="13.0"
|
RELEASE="13.0"
|
||||||
LATEST_VERSION=$(curl -fsSL "https://nightly.odoo.com/${RELEASE}/nightly/deb/" |
|
LATEST_VERSION=$(curl -fsSL "https://nightly.odoo.com/${RELEASE}/nightly/deb/" |
|
||||||
grep -oP "odoo_${RELEASE}\.\d+_all\.deb" |
|
grep -oP "odoo_${RELEASE}\.\d+_all\.deb" |
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ msg_ok "Installed Dependencies"
|
||||||
PG_VERSION="13.16" setup_postgresql
|
PG_VERSION="13.16" setup_postgresql
|
||||||
|
|
||||||
RELEASE="$(curl -fsSL https://nightly.odoo.com/ | grep -oE 'href="[0-9]+\.[0-9]+/nightly"' | head -n1 | cut -d'"' -f2 | cut -d/ -f1)"
|
RELEASE="$(curl -fsSL https://nightly.odoo.com/ | grep -oE 'href="[0-9]+\.[0-9]+/nightly"' | head -n1 | cut -d'"' -f2 | cut -d/ -f1)"
|
||||||
msg_info "Skipping installation of recent v${RELEASE} and installing v13.0 instead"
|
msg_ok "Skipping installation of recent v$RELEASE and installing v13.0 instead"
|
||||||
RELEASE="13.0"
|
RELEASE="13.0"
|
||||||
LATEST_VERSION=$(curl -fsSL "https://nightly.odoo.com/${RELEASE}/nightly/deb/" |
|
LATEST_VERSION=$(curl -fsSL "https://nightly.odoo.com/${RELEASE}/nightly/deb/" |
|
||||||
grep -oP "odoo_${RELEASE}\.\d+_all\.deb" |
|
grep -oP "odoo_${RELEASE}\.\d+_all\.deb" |
|
||||||
|
|
@ -30,10 +30,12 @@ LATEST_VERSION=$(curl -fsSL "https://nightly.odoo.com/${RELEASE}/nightly/deb/" |
|
||||||
sort -V |
|
sort -V |
|
||||||
tail -n1)
|
tail -n1)
|
||||||
|
|
||||||
msg_info "Setup Odoo $RELEASE"
|
msg_ok "https://nightly.odoo.com/${RELEASE}/nightly/deb/odoo_${RELEASE}.latest_all.deb"
|
||||||
curl -fsSL "https://nightly.odoo.com/${RELEASE}/nightly/deb/odoo_${RELEASE}.latest_all.deb" -o /opt/odoo.deb
|
msg_ok "https://nightly.odoo.com/$RELEASE/nightly/deb/odoo_$RELEASE.latest_all.deb"
|
||||||
|
msg_info "Setup Odoo $RELEASE with $LATEST_VERSION"
|
||||||
|
curl -fsSL "https://nightly.odoo.com/$RELEASE/nightly/deb/odoo_$RELEASE.latest_all.deb" -o /opt/odoo.deb
|
||||||
$STD apt install -y /opt/odoo.deb
|
$STD apt install -y /opt/odoo.deb
|
||||||
msg_ok "Setup Odoo $RELEASE"
|
msg_ok "Setup Odoo $RELEASE with $LATEST_VERSION"
|
||||||
|
|
||||||
msg_info "Setup PostgreSQL Database"
|
msg_info "Setup PostgreSQL Database"
|
||||||
DB_NAME="odoo"
|
DB_NAME="odoo"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user