mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	setup-yum-repo: Abstract out postgres version.
This commit is contained in:
		@@ -10,8 +10,9 @@ yum groupinstall -y "Development Tools"
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
RHVER="$(rpm -qf --queryformat="%{VERSION}" /etc/redhat-release)"
 | 
					RHVER="$(rpm -qf --queryformat="%{VERSION}" /etc/redhat-release)"
 | 
				
			||||||
RHARCH="$(rpm -qf --queryformat="%{ARCH}" /etc/redhat-release)"
 | 
					RHARCH="$(rpm -qf --queryformat="%{ARCH}" /etc/redhat-release)"
 | 
				
			||||||
# PostgreSQL 10
 | 
					PGVER=10
 | 
				
			||||||
yum localinstall -y "https://yum.postgresql.org/10/redhat/rhel-$RHVER-$RHARCH/pgdg-centos10-10-2.noarch.rpm"
 | 
					# PostgreSQL $PGVER
 | 
				
			||||||
 | 
					yum localinstall -y "https://yum.postgresql.org/$PGVER/redhat/rhel-$RHVER-$RHARCH/pgdg-centos$PGVER-$PGVER-2.noarch.rpm"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# PGroonga
 | 
					# PGroonga
 | 
				
			||||||
# https://pgroonga.github.io/install/centos.html
 | 
					# https://pgroonga.github.io/install/centos.html
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user