Last active
September 28, 2022 04:15
-
-
Save jogerj/b4cf8a065a10894887fba40d2e2d0cfb to your computer and use it in GitHub Desktop.
Revisions
-
jogerj revised this gist
Sep 28, 2022 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,13 +3,13 @@ OS="$(cat /etc/os-release)" if [[ $(echo -e $OS | grep "Ubuntu 18") ]]; then wget -N download.zextras.com/zcs-9.0.0_OSE_UBUNTU18_latest-zextras.tgz; elif [[ $(echo -e $OS | grep "Ubuntu 20") ]]; then wget -N download.zextras.com/zcs-9.0.0_OSE_UBUNTU20_latest-zextras.tgz; elif [[ $(echo -e $OS | grep -e "Red Hat Enterprise Linux" -e "CentOS") ]]; then if [[ $(cat /etc/redhat-release | grep "release 7") ]]; then wget -N download.zextras.com/zcs-9.0.0_OSE_RHEL7_latest-zextras.tgz elif [[ $(cat /etc/redhat-release | grep "release 8") ]]; then wget -N download.zextras.com/zcs-9.0.0_OSE_RHEL8_latest-zextras.tgz fi; fi; -
jogerj created this gist
Sep 28, 2022 .There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ #!/usr/bin/env bash OS="$(cat /etc/os-release)" if [[ $(echo -e $OS | grep "Ubuntu 18") ]]; then wget download.zextras.com/zcs-9.0.0_OSE_UBUNTU18_latest-zextras.tgz; elif [[ $(echo -e $OS | grep "Ubuntu 20") ]]; then wget download.zextras.com/zcs-9.0.0_OSE_UBUNTU20_latest-zextras.tgz; elif [[ $(echo -e $OS | grep -e "Red Hat Enterprise Linux" -e "CentOS") ]]; then if [[ $(cat /etc/redhat-release | grep "release 7") ]]; then wget download.zextras.com/zcs-9.0.0_OSE_RHEL7_latest-zextras.tgz elif [[ $(cat /etc/redhat-release | grep "release 8") ]]; then wget download.zextras.com/zcs-9.0.0_OSE_RHEL8_latest-zextras.tgz fi; fi;