update basic structure
This commit is contained in:
@@ -12,6 +12,8 @@ gencont_bat_url=$scriptdlroot/_gencontinuous.bat
|
||||
gencont_sh_url=$scriptdlroot/_gencontinuous.sh
|
||||
gen_sh_url=$scriptdlroot/_genonce.sh
|
||||
update_sh_url=$scriptdlroot/_updatePublisher.sh
|
||||
build_sh_url=$scriptdlroot/_build.sh
|
||||
build_bat_url=$scriptdlroot/_build.bat
|
||||
|
||||
skipPrompts=false
|
||||
FORCE=false
|
||||
@@ -103,6 +105,16 @@ if [[ $skipPrompts != true ]]; then
|
||||
if [[ $skipPrompts == true ]] || [[ $response =~ ^[yY].*$ ]]; then
|
||||
echo "Downloading most recent scripts "
|
||||
|
||||
curl -L $build_bat_url -o /tmp/_build.new
|
||||
cp /tmp/_build.new _build.bat
|
||||
rm /tmp/_build.new
|
||||
|
||||
|
||||
curl -L $build_sh_url -o /tmp/_build.new
|
||||
cp /tmp/_build.new _build.sh
|
||||
chmod +x _build.sh
|
||||
rm /tmp/_build.new
|
||||
|
||||
curl -L $update_bat_url -o /tmp/_updatePublisher.new
|
||||
cp /tmp/_updatePublisher.new _updatePublisher.bat
|
||||
rm /tmp/_updatePublisher.new
|
||||
@@ -117,13 +129,16 @@ if [[ $skipPrompts == true ]] || [[ $response =~ ^[yY].*$ ]]; then
|
||||
|
||||
curl -L $gencont_sh_url -o /tmp/_gencontinuous.new
|
||||
cp /tmp/_gencontinuous.new _gencontinuous.sh
|
||||
chmod +x _gencontinuous.sh
|
||||
rm /tmp/_gencontinuous.new
|
||||
|
||||
curl -L $gen_sh_url -o /tmp/_genonce.new
|
||||
cp /tmp/_genonce.new _genonce.sh
|
||||
chmod +x _genonce.sh
|
||||
rm /tmp/_genonce.new
|
||||
|
||||
curl -L $update_sh_url -o /tmp/_updatePublisher.new
|
||||
cp /tmp/_updatePublisher.new _updatePublisher.sh
|
||||
chmod +x _updatePublisher.sh
|
||||
rm /tmp/_updatePublisher.new
|
||||
fi
|
||||
fi
|
||||
Reference in New Issue
Block a user