Make sure that the psql pager does not clear the screen afterwards

Also, avoid paging if there is a single page.
This commit is contained in:
Jeff Bradberry
2022-12-06 10:46:47 -05:00
parent e5057691ee
commit 8054c6aedc

View File

@@ -274,7 +274,7 @@ RUN for dir in \
/var/run/nginx.pid \
/var/lib/awx/venv/awx/lib/python3.9/site-packages/awx.egg-link ; \
do touch $file ; chmod g+rw $file ; done && \
echo "\setenv PAGER 'less -S'" > /var/lib/awx/.psqlrc
echo "\setenv PAGER 'less -SXF'" > /var/lib/awx/.psqlrc
{% endif %}
{% if not build_dev|bool %}