File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed
Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,13 @@ function update_script() {
2828 msg_error " No ${APP} Installation Found!"
2929 exit 1
3030 fi
31+ if ! [[ $( dpkg -s python3-lxml-html-clean 2> /dev/null) ]]; then
32+ $STD apt-get install python-lxml
33+ 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
34+ $STD dpkg -i /opt/python3-lxml-html-clean.deb
35+ rm -f /opt/python3-lxml-html-clean.deb
36+ fi
37+
3138 RELEASE=$( curl -fsSL https://nightly.odoo.com/ | grep -oE ' href="[0-9]+\.[0-9]+/nightly"' | head -n1 | cut -d' "' -f2 | cut -d/ -f1)
3239 LATEST_VERSION=$( curl -fsSL " https://nightly.odoo.com/${RELEASE} /nightly/deb/" |
3340 grep -oP " odoo_${RELEASE} \.\d+_all\.deb" |
Original file line number Diff line number Diff line change @@ -14,11 +14,13 @@ network_check
1414update_os
1515
1616msg_info " Installing Dependencies"
17- $STD apt-get install -y \
18- build-essential \
19- make
17+ $STD apt-get install -y python3-lxml
18+ 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
19+ $STD dpkg -i /opt/python3-lxml-html-clean.deb
2020msg_ok " Installed Dependencies"
2121
22+ PG_VERSION=" 18" setup_postgresql
23+
2224RELEASE=$( curl -fsSL https://nightly.odoo.com/ | grep -oE ' href="[0-9]+\.[0-9]+/nightly"' | head -n1 | cut -d' "' -f2 | cut -d/ -f1)
2325LATEST_VERSION=$( curl -fsSL " https://nightly.odoo.com/${RELEASE} /nightly/deb/" |
2426 grep -oP " odoo_${RELEASE} \.\d+_all\.deb" |
@@ -69,6 +71,7 @@ customize
6971
7072msg_info " Cleaning up"
7173rm -f /opt/odoo.deb
74+ rm -f /opt/python3-lxml-html-clean.deb
7275$STD apt-get autoremove
7376$STD apt-get autoclean
7477msg_ok " Cleaned"
You can’t perform that action at this time.
0 commit comments