upgrade to nexus 3.6.2-01

This commit is contained in:
Rui Lopes 2017-12-03 20:18:58 +00:00
parent 82fe7f3a55
commit 94f029363e
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.6.1-02-unix.tar.gz nexus_tarball=nexus-3.6.2-01-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=da2ea7cfe282b9372f818c011c28c8c41246ae24 nexus_download_sha1=0c4ed9034180410e65a33c187058ad0aff75ec02
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"