- if <%= @venvprefix %>pip list --outdated | fgrep -q nominatim-db; then
- <%= @venvprefix %>pip install -U nominatim-db
+ if <%= @venvprefix %>pip list $EXTRA_PIP --outdated | fgrep -q nominatim-db; then
+ <%= @venvprefix %>pip install $EXTRA_PIP -U nominatim-db
if ! /sbin/runuser -u nominatim -- <%= @bindir %>/nominatim-update-refresh-db; then
date "+%c === Database refresh failed. Stopping updates."
exit 1
fi
fi
# Then only attempt to update the frontend.
if ! /sbin/runuser -u nominatim -- <%= @bindir %>/nominatim-update-refresh-db; then
date "+%c === Database refresh failed. Stopping updates."
exit 1
fi
fi
# Then only attempt to update the frontend.
- if <%= @venvprefix %>pip list --outdated | fgrep -q nominatim-api; then
- <%= @venvprefix %>pip install -U nominatim-api
+ if <%= @venvprefix %>pip list $EXTRA_PIP --outdated | fgrep -q nominatim-api; then
+ <%= @venvprefix %>pip install $EXTRA_PIP -U nominatim-api