From 581ee674105300fbba05f3f08fd4e5072220f669 Mon Sep 17 00:00:00 2001 From: Eddie Septr Date: Tue, 30 Apr 2019 21:24:36 +0700 Subject: [PATCH] fix add repo --- scripts/add_repo.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/add_repo.sh b/scripts/add_repo.sh index e15bcff..5817054 100755 --- a/scripts/add_repo.sh +++ b/scripts/add_repo.sh @@ -11,6 +11,7 @@ echo "Adding repositories..." if [[ "$DISTRIB_RELEASE" == "14.04" || "$MAJOR_RELEASE_NUMBER" == "17" ]]; then # Ubuntu release 14.04, LinuxMint 17 DISTRIB_REPO="trusty" + ARCH_REPO="amd64,i386,ppc64el" # Nginx custom with ngx cache purge # https://rtcamp.com/wordpress-nginx/tutorials/single-site/fastcgi-cache-with-purging/ @@ -23,6 +24,7 @@ if [[ "$DISTRIB_RELEASE" == "14.04" || "$MAJOR_RELEASE_NUMBER" == "17" ]]; then elif [[ "$DISTRIB_RELEASE" == "16.04" || "$MAJOR_RELEASE_NUMBER" == "18" ]]; then # Ubuntu release 16.04, LinuxMint 18 DISTRIB_REPO="xenial" + ARCH_REPO="amd64,arm64,i386,ppc64el" # Nginx custom repo with ngx cache purge run apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3050AC3CD2AE6F03 @@ -35,6 +37,7 @@ elif [[ "$DISTRIB_RELEASE" == "16.04" || "$MAJOR_RELEASE_NUMBER" == "18" ]]; the elif [[ "$DISTRIB_RELEASE" == "18.04" || "$MAJOR_RELEASE_NUMBER" == "19" ]]; then # Ubuntu release 18.04, LinuxMint 19 DISTRIB_REPO="bionic" + ARCH_REPO="amd64,arm64,ppc64el" # Nginx repo run apt-key fingerprint ABF5BD827BD9BF62 @@ -55,7 +58,7 @@ touch /etc/apt/sources.list.d/MariaDB-${DISTRIB_REPO}.list cat > /etc/apt/sources.list.d/MariaDB-${DISTRIB_REPO}.list <