File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -211,12 +211,7 @@ install() {
211211 GWARN " skipping integrity check"
212212 LOG " skipping integrity check for \" $DLCACHE /$name .tar.$ext \" "
213213 else
214- else
215- # final exit condition
216- DIE " Integrity check failed. Exiting gracefully.."
217- fi
218- fi
219- fi if ask " Do you want to retry [ deleteing the file and re-download it? ]" ; then
214+ if ask " Do you want to retry [ deleteing the file and re-download it? ]" ; then
220215 rm " $DLCACHE /$name .tar.$ext "
221216 download " $name .tar.$ext " " $link "
222217
@@ -228,7 +223,12 @@ install() {
228223 GWARN " file integrity check failed"
229224 DIE " Exiting gracefully.."
230225 fi
231-
226+ else
227+ # final exit condition
228+ DIE " Integrity check failed. Exiting gracefully.."
229+ fi
230+ fi
231+ fi
232232
233233 # call proot extract
234234 msg_extract " $DEFAULT_FS_INSTALL_DIR /$name "
You can’t perform that action at this time.
0 commit comments