Skip to content

Commit 0a6cf8f

Browse files
fix(archlinux): avoid nonetype error
1 parent 8b44c06 commit 0a6cf8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: postgres/osfamilymap.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ RedHat:
6262
gpgkey: 'https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-{{ release }}'
6363
baseurl: 'https://download.postgresql.org/pub/repos/yum/{{ repo.version }}/redhat/rhel-$releasever-$basearch'
6464

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

0 commit comments

Comments
 (0)