From ca12a4a9e9e81455877f84736115259303278a82 Mon Sep 17 00:00:00 2001 From: Ivan X Date: Sun, 17 Jan 2016 13:07:39 -0500 Subject: [PATCH] better detection of distribution URL during startup message --- setup/index.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/setup/index.txt b/setup/index.txt index dd2e1dc..a7ae8d5 100755 --- a/setup/index.txt +++ b/setup/index.txt @@ -35,7 +35,7 @@ if [[ -f /usr/local/etc/A2SERVER-version ]]; then fi echo -[[ $scriptURL != *"ivanx.com"* && $scriptURL != *"rawgit.com"* ]] && echo "Using script URL: $scriptURL" +[[ $scriptURL != *"ivanx.com"* && $scriptURL != *"rawgit.com/RasppleII/a2server"* ]] && echo "Using script URL: $scriptURL" [[ $binaryURL != *"ivanx.com"* ]] && echo "Using binary URL: $binaryURL" [[ ! $useExternalURL ]] && echo -e "Not using external URLs. Downloads must be available from:\n ${binaryURL}external/appleii/\n ${binaryURL}external/source/\n (See the A2SERVER developer page for more information.)" @@ -147,9 +147,8 @@ if [[ $unsupportedOS ]]; then echo echo "WARNING: A2SERVER and its installer scripts have only been tested on" echo "Debian and Raspbian. Continuing is probably fine, but might not be." - echo "Worst case could make your operating system no longer work properly," - echo "or cause data to be lost." - echo "More information is at http://ivanx.com/a2server." + echo "Theoretical worst case would be your operating system no longer works" + echo "properly or data is lost, so consider backing up first." fi doSetup=1