Add RACKET_NATIPKG
This commit is contained in:
parent
23fe307ab6
commit
07334c631d
|
@ -9,6 +9,12 @@ else
|
||||||
MIN=""
|
MIN=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "$RACKET_NATIPKG" = "1" ]]; then
|
||||||
|
RACKET_NATIPKG="-natipkg"
|
||||||
|
else
|
||||||
|
RACKET_NATIPKG=""
|
||||||
|
fi
|
||||||
|
|
||||||
DL_BASE="https://www.cs.utah.edu/plt/installers"
|
DL_BASE="https://www.cs.utah.edu/plt/installers"
|
||||||
|
|
||||||
if [[ "$RACKET_VERSION" = "HEAD" ]]; then
|
if [[ "$RACKET_VERSION" = "HEAD" ]]; then
|
||||||
|
@ -21,9 +27,9 @@ if [[ "$RACKET_VERSION" = "HEAD" ]]; then
|
||||||
elif [[ "$RACKET_VERSION" = "HEADCS" ]]; then
|
elif [[ "$RACKET_VERSION" = "HEADCS" ]]; then
|
||||||
UTAH_BASE="https://www.cs.utah.edu/plt/snapshots/current/installers"
|
UTAH_BASE="https://www.cs.utah.edu/plt/snapshots/current/installers"
|
||||||
if [[ "$RACKET_MINIMAL" = "1" ]]; then
|
if [[ "$RACKET_MINIMAL" = "1" ]]; then
|
||||||
URL="${UTAH_BASE}/min-racket-current-x86_64-linux-cs-xenial.sh"
|
URL="${UTAH_BASE}/min-racket-current-x86_64-linux-cs-xenial.sh"
|
||||||
else
|
else
|
||||||
URL="${UTAH_BASE}/racket-current-x86_64-linux-cs-xenial.sh"
|
URL="${UTAH_BASE}/racket-current-x86_64-linux-cs-xenial.sh"
|
||||||
fi
|
fi
|
||||||
elif [[ "$RACKET_VERSION" = 5.3* ]]; then
|
elif [[ "$RACKET_VERSION" = 5.3* ]]; then
|
||||||
if [[ "$RACKET_MINIMAL" = "1" ]]; then
|
if [[ "$RACKET_MINIMAL" = "1" ]]; then
|
||||||
|
@ -32,15 +38,15 @@ elif [[ "$RACKET_VERSION" = 5.3* ]]; then
|
||||||
URL="${DL_BASE}/${RACKET_VERSION}/racket/racket-${MIN}${RACKET_VERSION}-bin-x86_64-linux-debian-squeeze.sh"
|
URL="${DL_BASE}/${RACKET_VERSION}/racket/racket-${MIN}${RACKET_VERSION}-bin-x86_64-linux-debian-squeeze.sh"
|
||||||
fi
|
fi
|
||||||
elif [[ "$RACKET_VERSION" = "RELEASE" ]]; then
|
elif [[ "$RACKET_VERSION" = "RELEASE" ]]; then
|
||||||
URL="https://pre-release.racket-lang.org/installers/racket-${MIN}current-x86_64-linux.sh"
|
URL="https://pre-release.racket-lang.org/installers/racket-${MIN}current-x86_64-linux${RACKET_NATIPKG}.sh"
|
||||||
elif [[ "$RACKET_VERSION" = 5.9* ]]; then
|
elif [[ "$RACKET_VERSION" = 5.9* ]]; then
|
||||||
URL="${DL_BASE}/${RACKET_VERSION}/racket-${MIN}${RACKET_VERSION}-x86_64-linux-ubuntu-quantal.sh"
|
URL="${DL_BASE}/${RACKET_VERSION}/racket-${MIN}${RACKET_VERSION}-x86_64-linux-ubuntu-quantal.sh"
|
||||||
elif [[ "$RACKET_VERSION" = 6.[0-4] ]] || [[ "$RACKET_VERSION" = 6.[0-4].[0-9] ]]; then
|
elif [[ "$RACKET_VERSION" = 6.[0-4] ]] || [[ "$RACKET_VERSION" = 6.[0-4].[0-9] ]]; then
|
||||||
URL="${DL_BASE}/${RACKET_VERSION}/racket-${MIN}${RACKET_VERSION}-x86_64-linux-ubuntu-precise.sh"
|
URL="${DL_BASE}/${RACKET_VERSION}/racket-${MIN}${RACKET_VERSION}-x86_64-linux-ubuntu-precise.sh"
|
||||||
elif [[ "$RACKET_VERSION" = 6.* ]]; then
|
elif [[ "$RACKET_VERSION" = 6.* ]]; then
|
||||||
URL="${DL_BASE}/${RACKET_VERSION}/racket-${MIN}${RACKET_VERSION}-x86_64-linux.sh"
|
URL="${DL_BASE}/${RACKET_VERSION}/racket-${MIN}${RACKET_VERSION}-x86_64-linux${RACKET_NATIPKG}.sh"
|
||||||
elif [[ "$RACKET_VERSION" = 7.* ]]; then
|
elif [[ "$RACKET_VERSION" = 7.* ]]; then
|
||||||
URL="${DL_BASE}/${RACKET_VERSION}/racket-${MIN}${RACKET_VERSION}-x86_64-linux.sh"
|
URL="${DL_BASE}/${RACKET_VERSION}/racket-${MIN}${RACKET_VERSION}-x86_64-linux${RACKET_NATIPKG}.sh"
|
||||||
else
|
else
|
||||||
echo "ERROR: Unsupported version ${RACKET_VERSION}"
|
echo "ERROR: Unsupported version ${RACKET_VERSION}"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user