upgrade to nexus 3.7.1-02

This commit is contained in:
Rui Lopes 2017-12-29 09:37:56 +00:00
parent 4a642b65e6
commit 7eb424e231
1 changed files with 2 additions and 2 deletions

View File

@ -31,9 +31,9 @@ install -d -o root -g nexus -m 750 /opt/nexus
pushd /opt/nexus pushd /opt/nexus
# see http://www.sonatype.com/download-oss-sonatype # see http://www.sonatype.com/download-oss-sonatype
# see https://help.sonatype.com/display/NXRM3 # see https://help.sonatype.com/display/NXRM3
nexus_tarball=nexus-3.7.0-04-unix.tar.gz nexus_tarball=nexus-3.7.1-02-unix.tar.gz
nexus_download_url=https://sonatype-download.global.ssl.fastly.net/nexus/3/$nexus_tarball nexus_download_url=https://sonatype-download.global.ssl.fastly.net/nexus/3/$nexus_tarball
nexus_download_sha1=3709d169b6b1f437d857e58aa70868ab948057c2 nexus_download_sha1=e15f7b170a13f3f8eef85f4043066d0fd3efe3b7
wget -q $nexus_download_url wget -q $nexus_download_url
if [ "$(sha1sum $nexus_tarball | awk '{print $1}')" != "$nexus_download_sha1" ]; then if [ "$(sha1sum $nexus_tarball | awk '{print $1}')" != "$nexus_download_sha1" ]; then
echo "downloaded $nexus_download_url failed the checksum verification" echo "downloaded $nexus_download_url failed the checksum verification"