From 0221167191dbf3b96a00ac09fd9de6fc5ebc60b0 Mon Sep 17 00:00:00 2001 From: gindibay Date: Mon, 24 May 2021 08:45:29 +0300 Subject: [PATCH 1/2] Add -y option to auto approve gpg key installation --- community/rpm.sh | 2 +- enterprise/rpm.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/community/rpm.sh b/community/rpm.sh index 68b35dc1a..0aa6cd8ab 100755 --- a/community/rpm.sh +++ b/community/rpm.sh @@ -44,7 +44,7 @@ pgdg_check () yum install -d0 -e0 -y "${repo_url}" - if ! yum info -q postgresql13-server &> /dev/null; then + if ! yum info -q -y postgresql13-server &> /dev/null; then echo "PGDG repositories don't have postgresql13-server package for your operating system" echo "Cannot install Citus, exiting." exit 1 diff --git a/enterprise/rpm.sh b/enterprise/rpm.sh index d580a55bd..d99f6fb1f 100755 --- a/enterprise/rpm.sh +++ b/enterprise/rpm.sh @@ -44,7 +44,7 @@ pgdg_check () yum install -d0 -e0 -y "${repo_url}" - if ! yum info -q postgresql13-server &> /dev/null; then + if ! yum info -y -q postgresql13-server &> /dev/null; then echo "PGDG repositories don't have postgresql13-server package for your operating system" echo "Cannot install Citus, exiting." exit 1 From 8839c4f1ef80e2764a5934a31e526ad9b9fc6b32 Mon Sep 17 00:00:00 2001 From: gindibay Date: Mon, 24 May 2021 08:52:47 +0300 Subject: [PATCH 2/2] Add -y option into nightly scripts --- community-nightlies/rpm.sh | 2 +- enterprise-nightlies/rpm.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/community-nightlies/rpm.sh b/community-nightlies/rpm.sh index ac086fb44..20a005de1 100755 --- a/community-nightlies/rpm.sh +++ b/community-nightlies/rpm.sh @@ -44,7 +44,7 @@ pgdg_check () yum install -d0 -e0 -y "${repo_url}" - if ! yum info -q postgresql13-server &> /dev/null; then + if ! yum info -q -y postgresql13-server &> /dev/null; then echo "PGDG repositories don't have postgresql13-server package for your operating system" echo "Cannot install Citus, exiting." exit 1 diff --git a/enterprise-nightlies/rpm.sh b/enterprise-nightlies/rpm.sh index e86e0e495..bdd27ed97 100755 --- a/enterprise-nightlies/rpm.sh +++ b/enterprise-nightlies/rpm.sh @@ -44,7 +44,7 @@ pgdg_check () yum install -d0 -e0 -y "${repo_url}" - if ! yum info -q postgresql13-server &> /dev/null; then + if ! yum info -q -y postgresql13-server &> /dev/null; then echo "PGDG repositories don't have postgresql13-server package for your operating system" echo "Cannot install Citus, exiting." exit 1