mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[FIX] runbot: manage or in debian/controll
Since odoo/odoo@3d6043a735 the controll file can contain fallbacks `dep1 | dep2 | dep3`. Taking the first column will work in most cases. closes #573
This commit is contained in:
parent
de84882a07
commit
ec2f12ef5f
@ -85,7 +85,7 @@ RUN curl -sSL https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
|
||||
ADD https://raw.githubusercontent.com/odoo/odoo/<t t-esc="values['odoo_branch']"/>/debian/control /tmp/control.txt
|
||||
RUN apt-get update \
|
||||
&& sed -n '/^Depends:/,/^[A-Z]/p' /tmp/control.txt \
|
||||
| awk '/^ [a-z]/ { gsub(/,/,"") ; print }' | sort -u \
|
||||
| awk '/^ [a-z]/ { gsub(/,/,"") ; print $1 }' | sort -u \
|
||||
| egrep -v 'postgresql-client' \
|
||||
| sed 's/python-imaging/python-pil/'| sed 's/python-pypdf/python-pypdf2/' \
|
||||
| DEBIAN_FRONTEND=noninteractive xargs apt-get install -y -qq \
|
||||
|
Loading…
Reference in New Issue
Block a user