Skip to content

Commit

Permalink
Undo previouse commits
Browse files Browse the repository at this point in the history
  • Loading branch information
joglomedia committed Aug 13, 2021
1 parent 32d16cd commit 41e7442
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/install_nginx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ function add_nginx_repo() {
DISTRIB_NAME=${DISTRIB_NAME:-$(get_distrib_name)}
RELEASE_NAME=${RELEASE_NAME:-$(get_release_name)}

local ALTERNATIVE_REPO=false
[[ "${RELEASE_NAME}" == "jessie" || "${RELEASE_NAME}" == "xenial" ]] && ALTERNATIVE_REPO=true
#local ALTERNATIVE_REPO=false
#[[ "${RELEASE_NAME}" == "jessie" || "${RELEASE_NAME}" == "xenial" ]] && ALTERNATIVE_REPO=true

case "${DISTRIB_NAME}" in
debian)
Expand Down Expand Up @@ -276,7 +276,7 @@ function init_nginx_install() {
fi

# Install Nginx and its modules.
run apt-get install -qq -y "${NGINX_PKGS[@]}" "${EXTRA_MODULE_PKGS[@]}"
run apt-get install -qq -y "${NGINX_PKG}" "${EXTRA_MODULE_PKGS[@]}"
fi
else
fail "Unable to install Nginx, this GNU/Linux distribution is not supported."
Expand Down

0 comments on commit 41e7442

Please sign in to comment.