Created
May 9, 2017 16:47
-
-
Save mcenirm/c2ddbcdec32856deb5c9b250181a986c to your computer and use it in GitHub Desktop.
Add `/usr/bin/pg_config` using alternatives when using RPMs from https://yum.postgresql.org/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pg_major=9 | |
pg_minor=5 | |
alternatives --install /usr/bin/pg_config pgsql-pg_config /usr/pgsql-${pg_major}.${pg_minor}/bin/pg_config ${pg_major}${pg_minor}0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment