From 660eb80ec8c57034fdd44eb10d588e63cec02c3d Mon Sep 17 00:00:00 2001 From: "T. Joseph Carter" Date: Wed, 6 Apr 2016 14:19:38 -0700 Subject: [PATCH] setup.txt: SCRIPT/BINARY URL change like A2SERVER --- setup/setup.txt | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/setup/setup.txt b/setup/setup.txt index 08d802e..ca4ff45 100755 --- a/setup/setup.txt +++ b/setup/setup.txt @@ -7,11 +7,14 @@ adtProVersion="2.0.1" # Ensure URL we'll use ends in a / case "$A2CLOUD_SCRIPT_URL" in */) scriptURL="$A2CLOUD_SCRIPT_URL" ;; - *) scriptURL="${A2CLOUD_SCRIPT_URL:-http://appleii.ivanx.com/a2cloud}/" ;; + *) scriptURL="${A2CLOUD_SCRIPT_URL:-https://rawgit.com/RasppleII/a2server/current}/" ;; esac - - -# A2CLOUD installer start +case "$A2CLOUD_BINARY_URL" in + */) binaryURL="$A2CLOUD_BINARY_URL" ;; + *) binaryURL="${A2CLOUD_BINARY_URL:-http://ivanx.com/a2server/files}/" ;; +esac +useExternalURL=1 +[[ $A2CLOUD_NO_EXTERNAL ]] && useExternalURL= debianVersion=$(cat /etc/debian_version 2> /dev/null) isRpi=