From 080242d969c77218dc400e96c98e444624b2358e Mon Sep 17 00:00:00 2001 From: "T. Joseph Carter" Date: Wed, 7 Dec 2016 04:16:22 -0800 Subject: [PATCH] Add replacement for binaryURL/scriptURL --- scripts/a2server-2-tools.txt | 3 +++ scripts/a2server-3-sharing.txt | 4 ++-- scripts/a2server-5-netboot.txt | 3 +++ setup/index.txt | 1 + update/index.txt | 2 ++ 5 files changed, 11 insertions(+), 2 deletions(-) diff --git a/scripts/a2server-2-tools.txt b/scripts/a2server-2-tools.txt index 154eef7..191dbc7 100755 --- a/scripts/a2server-2-tools.txt +++ b/scripts/a2server-2-tools.txt @@ -4,6 +4,9 @@ # download and install a2server tools: # mkatinit, mkvolinfo, afptype, afpsync, aliases, nulib2 +a2sScriptURL="https://raw.githubusercontent.com/RasppleII/a2server/master" +a2sBinaryURL="http://blocksfree.com/downloads" + a2sDevel="$( dirname "${BASH_SOURCE[0]}" )/.." if [[ -f "$a2sDevel/.a2server_source" ]]; then pushd $a2sDevel >/dev/null diff --git a/scripts/a2server-3-sharing.txt b/scripts/a2server-3-sharing.txt index ff9fd2c..a433b8f 100755 --- a/scripts/a2server-3-sharing.txt +++ b/scripts/a2server-3-sharing.txt @@ -10,10 +10,10 @@ # at comp.sys.apple2 for the work they've done and insight they've # offered which made it possible to put this together. - - # --- Installing netatalk +a2sBinaryURL="http://blocksfree.com/downloads" + case "$A2SERVER_BINARY_URL" in */) binaryURL="$A2SERVER_BINARY_URL" ;; *) binaryURL="${A2SERVER_BINARY_URL:-http://ivanx.com/a2server/files}/" ;; diff --git a/scripts/a2server-5-netboot.txt b/scripts/a2server-5-netboot.txt index f7b4434..8a98240 100755 --- a/scripts/a2server-5-netboot.txt +++ b/scripts/a2server-5-netboot.txt @@ -7,6 +7,9 @@ # program (for Apple IIe users, and IIgs users in ProDOS network mode). # It also can download and install GS/OS for a network boot configuration. +a2sScriptURL="https://raw.githubusercontent.com/RasppleII/a2server/master" +a2sBinaryURL="http://blocksfree.com/downloads" + a2sDevel="$( dirname "${BASH_SOURCE[0]}" )/.." if [[ -f "$a2sDevel/.a2server_source" ]]; then pushd $a2sDevel >/dev/null diff --git a/setup/index.txt b/setup/index.txt index 2960ba1..d751532 100755 --- a/setup/index.txt +++ b/setup/index.txt @@ -7,6 +7,7 @@ # more info is at http://ivanx.com/a2server a2serverVersion="1.5.1" +a2sScriptURL="https://raw.githubusercontent.com/RasppleII/a2server/master" a2sDevel="$( dirname "${BASH_SOURCE[0]}" )/.." if [[ -f "$a2sDevel/.a2server_source" ]]; then diff --git a/update/index.txt b/update/index.txt index ca35b75..3cd5a3b 100755 --- a/update/index.txt +++ b/update/index.txt @@ -1,6 +1,8 @@ #! /bin/bash # vim: set tabstop=4 shiftwidth=4 noexpandtab filetype=sh: +a2sScriptURL="https://raw.githubusercontent.com/RasppleII/a2server/master" + a2sDevel="$( dirname "${BASH_SOURCE[0]}" )/.." if [[ -f "$a2sDevel/.a2server_source" ]]; then pushd $a2sDevel >/dev/null