upgrade pgpool to 3.6.6
authorDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 13 Sep 2017 13:25:56 +0000 (15:25 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 13 Sep 2017 13:25:56 +0000 (15:25 +0200)
t/2-init-pgpool.sh

index e38d47c..4574ec5 100755 (executable)
@@ -13,7 +13,7 @@ install() {
        cp /usr/sbin/arping /etc/pgpool-II/sbin/
        chmod -v 4755 /etc/pgpool-II/sbin/*
 
-       rpm -q pgpool-II-pg96 || yes | yum install http://www.pgpool.net/yum/rpms/3.6/redhat/rhel-7-x86_64/pgpool-II-pg96-3.6.5-1pgdg.rhel7.x86_64.rpm
+       yum -y install http://www.pgpool.net/yum/rpms/3.6/redhat/rhel-7-x86_64/pgpool-II-pg96-3.6.6-1pgdg.rhel7.x86_64.rpm http://www.pgpool.net/yum/rpms/3.6/redhat/rhel-7-x86_64/pgpool-II-pg96-extensions-3.6.6-1pgdg.rhel7.x86_64.rpm
 
        systemctl enable pgpool