mirror of
https://gitee.com/dcren/initializr.git
synced 2026-09-20 23:07:42 +08:00
Changes for install.sh to point to correct URL and file.
Fixes gh-2, fixes gh-3
This commit is contained in:
+2
-2
@@ -3,7 +3,7 @@
|
|||||||
set -e
|
set -e
|
||||||
# set -x
|
# set -x
|
||||||
|
|
||||||
VERSION="0.5.0.M4"
|
VERSION="1.0.0.RC1"
|
||||||
if [ -z "${PREFIX}" ]; then
|
if [ -z "${PREFIX}" ]; then
|
||||||
PREFIX="/usr/local/bin"
|
PREFIX="/usr/local/bin"
|
||||||
fi
|
fi
|
||||||
@@ -14,7 +14,7 @@ if [ -z "${JAR_FILE}" ]; then
|
|||||||
echo "Downloading spring ${VERSION} distribution"
|
echo "Downloading spring ${VERSION} distribution"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
JAR_URL="https://repo.springsource.org/milestone/org/springframework/boot/spring-boot-cli/${VERSION}/spring-boot-cli-${VERSION}-dist.zip"
|
JAR_URL="https://repo.spring.io/milestone/org/springframework/boot/spring-boot-cli/${VERSION}/spring-boot-cli-${VERSION}-bin.zip"
|
||||||
curl --progress-bar --fail "$JAR_URL" -o "$JAR_FILE"
|
curl --progress-bar --fail "$JAR_URL" -o "$JAR_FILE"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user