Skip to content

Commit

Permalink
fix(archlinux): avoid nonetype error
Browse files Browse the repository at this point in the history
  • Loading branch information
noelmcloughlin committed Dec 5, 2020
1 parent 8b44c06 commit 0a6cf8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postgres/osfamilymap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ RedHat:
gpgkey: 'https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-{{ release }}'
baseurl: 'https://download.postgresql.org/pub/repos/yum/{{ repo.version }}/redhat/rhel-$releasever-$basearch'

{%- if grains.get('osmajorrelease') >= 7 %}
{%- if grains.get('osmajorrelease', 0) >= 7 %}
pkg_python: python3-psycopg2
{%- endif %}

Expand Down

0 comments on commit 0a6cf8f

Please sign in to comment.