Skip to content

Commit e2b447e

Browse files
committed
build: fix wait-for-it url and update to Apache 2 license
1 parent 639b026 commit e2b447e

File tree

1 file changed

+5
-19
lines changed

1 file changed

+5
-19
lines changed

install/install_nomad.sh

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ SIDECAR_UPDATER_SCRIPT_URL="https://raw.githubusercontent.com/Crosstalk-Solution
3737
START_SCRIPT_URL="https://raw.githubusercontent.com/Crosstalk-Solutions/project-nomad/refs/heads/main/install/start_nomad.sh"
3838
STOP_SCRIPT_URL="https://raw.githubusercontent.com/Crosstalk-Solutions/project-nomad/refs/heads/main/install/stop_nomad.sh"
3939
UPDATE_SCRIPT_URL="https://raw.githubusercontent.com/Crosstalk-Solutions/project-nomad/refs/heads/main/install/update_nomad.sh"
40-
WAIT_FOR_IT_SCRIPT_URL="https://raw.githubusercontent.com/vishnubob/wait-for-it/main/wait-for-it.sh"
40+
WAIT_FOR_IT_SCRIPT_URL="https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh"
4141
COLLECT_DISK_INFO_SCRIPT_URL="https://raw.githubusercontent.com/Crosstalk-Solutions/project-nomad/refs/heads/main/install/collect_disk_info.sh"
4242

4343
script_option_debug='true'
@@ -329,17 +329,12 @@ setup_nvidia_container_toolkit() {
329329
}
330330

331331
get_install_confirmation(){
332-
read -p "This script will install/update Project N.O.M.A.D. and its dependencies on your machine. Are you sure you want to continue? (y/n): " choice
332+
read -p "This script will install/update Project N.O.M.A.D. and its dependencies on your machine. Are you sure you want to continue? (y/N): " choice
333333
case "$choice" in
334334
y|Y )
335335
echo -e "${GREEN}#${RESET} User chose to continue with the installation."
336336
;;
337-
n|N )
338-
echo -e "${RED}#${RESET} User chose not to continue with the installation."
339-
exit 0
340-
;;
341337
* )
342-
echo "Invalid Response"
343338
echo "User chose not to continue with the installation."
344339
exit 0
345340
;;
@@ -351,25 +346,16 @@ accept_terms() {
351346
echo "License Agreement & Terms of Use"
352347
echo "__________________________"
353348
printf "\n\n"
354-
echo "Copyright 2025 Crosstalk Solutions, LLC"
355-
printf "\n"
356-
echo "Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:"
357-
printf "\n"
358-
echo "The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software."
349+
echo "Project N.O.M.A.D. is licensed under the Apache License 2.0. The full license can be found at https://www.apache.org/licenses/LICENSE-2.0 or in the LICENSE file of this repository."
359350
printf "\n"
360-
echo "THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."
351+
echo "By accepting this agreement, you acknowledge that you have read and understood the terms and conditions of the Apache License 2.0 and agree to be bound by them while using Project N.O.M.A.D."
361352
echo -e "\n\n"
362-
read -p "I have read and accept License Agreement & Terms of Use (y/n)? " choice
353+
read -p "I have read and accept License Agreement & Terms of Use (y/N)? " choice
363354
case "$choice" in
364355
y|Y )
365356
accepted_terms='true'
366357
;;
367-
n|N )
368-
echo "License Agreement & Terms of Use not accepted. Installation cannot continue."
369-
exit 1
370-
;;
371358
* )
372-
echo "Invalid Response"
373359
echo "License Agreement & Terms of Use not accepted. Installation cannot continue."
374360
exit 1
375361
;;

0 commit comments

Comments
 (0)