Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] packaging: adapt lxml and install script
lxml.hml.clean was moved to a separate package starting in lxml 5.2 The requirements and debian control needs to be adapted to install the new package in ubuntu noble (and after ubuntu noble only) The solution was to use fallback to try to install lxml_html_clean if it exists (noble) and fallback on lxml if not. The script use in the documentation and available in more recent version will take all first packge of the debian conrtol, meaning that after this change it won't work in distribution not having lxml_html_clean. The script is adapted to use fallback in apt-install command Debian control: font1 | font2, package_1, package_noble | package_fallback, Before: apt install font1 package package_noble After: apt install font1|font2 package package_noble|package_fallback closes odoo#167350 X-original-commit: a611070 Related: odoo/documentation#9544 Signed-off-by: Christophe Monniez (moc) <[email protected]> Signed-off-by: Xavier Dollé (xdo) <[email protected]>
- Loading branch information