Skip to content

Commit

Permalink
Make sure that the psql pager does not clear the screen afterwards
Browse files Browse the repository at this point in the history
Also, avoid paging if there is a single page.
  • Loading branch information
jbradberry committed Dec 6, 2022
1 parent e505769 commit 8054c6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/ansible/roles/dockerfile/templates/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down

0 comments on commit 8054c6a

Please sign in to comment.