File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 9898if [[ $skipPrompts != true ]]; then
9999 message=" Update scripts? (enter 'y' or 'Y' to continue, any other key to cancel)?"
100100 read -r -p " $message " response
101- fi
101+ fi
102102
103103if [[ $skipPrompts == true ]] || [[ $response =~ ^[yY].* $ ]]; then
104- echo " Downloading most recent scripts "
105- # test
104+ echo " Downloading most recent scripts"
105+
106106 curl -L $update_bat_url -o /tmp/_updatePublisher.new
107107 cp /tmp/_updatePublisher.new _updatePublisher.bat
108108 rm /tmp/_updatePublisher.new
@@ -121,6 +121,10 @@ if [[ $skipPrompts == true ]] || [[ $response =~ ^[yY].*$ ]]; then
121121 rm /tmp/_gencontinuous.new
122122
123123 curl -L $gen_sh_url -o /tmp/_genonce.new
124+ if [ $? -ne 0 ]; then
125+ echo " Fehler beim Herunterladen von $gen_sh_url "
126+ exit 1
127+ fi
124128 cp /tmp/_genonce.new _genonce.sh
125129 chmod +x _genonce.sh
126130 rm /tmp/_genonce.new
You can’t perform that action at this time.
0 commit comments