add dependencis

This commit is contained in:
Marcel Walter 2025-10-26 01:48:30 +02:00
parent 2f1afb2cd2
commit 1e637b506f

View File

@ -15,8 +15,13 @@ update_os
msg_info "Installing Dependencies"
$STD apt install -y python3-lxml
$STD apt install -y python3-ldap
$STD apt install -y python3-xlwt
$STD apt install -y python3-num2words
curl -fsSL "http://archive.ubuntu.com/ubuntu/pool/universe/l/lxml-html-clean/python3-lxml-html-clean_0.1.1-1_all.deb" -o /opt/python3-lxml-html-clean.deb
$STD dpkg -i /opt/python3-lxml-html-clean.deb
curl -fsSL "http://archive.ubuntu.com/ubuntu/pool/universe/v/vatnumber/python3-vatnumber_1.2-9_all.deb" -o /opt/python3-vatnumber.deb
$STD dpkg -i /opt/python3-vatnumber.deb
msg_ok "Installed Dependencies"
PG_VERSION="13.16" setup_postgresql
@ -32,7 +37,8 @@ LATEST_VERSION=$(curl -fsSL "https://nightly.odoo.com/${RELEASE}/nightly/deb/" |
msg_info "Setup Odoo $RELEASE with $LATEST_VERSION"
curl -fsSL "https://nightly.odoo.com/${RELEASE}/nightly/deb/odoo_${LATEST_VERSION}_all.deb" -o /opt/odoo.deb
$STD apt install -y /opt/odoo.deb
#$STD apt install -y /opt/odoo.deb
$STD dpkg -i /opt/odoo.deb
msg_ok "Setup Odoo $RELEASE with $LATEST_VERSION"
msg_info "Setup PostgreSQL Database"