]> https://gitweb.dealii.org/ - candi.git/commitdiff
candi.sh: updated error message if package_verify() fails.
authorUwe Köcher <koecher@hsu-hamburg.de>
Mon, 29 Sep 2014 09:40:03 +0000 (11:40 +0200)
committerUwe Köcher <koecher@hsu-hamburg.de>
Mon, 29 Sep 2014 09:40:03 +0000 (11:40 +0200)
candi.sh

index f96e2a696361073ecbacf402c6b29198f0e3ff58..4c04aec5cf3fd1839a7652e1e1485dfaa2becb04 100755 (executable)
--- a/candi.sh
+++ b/candi.sh
@@ -179,7 +179,7 @@ package_verify() {
     fi
     
     # Quit with a useful message if something goes wrong
-    quit_if_fail "Error verifying checksum for ${NAME}${PACKING}"
+    quit_if_fail "Error verifying checksum for ${NAME}${PACKING}\nMake sure that you are connected to the internet.\nIf a corrupted file has been downloaded, please remove\n   ${DOWNLOAD_PATH}/${NAME}${PACKING}\nbefore you restart candi!"
 }
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.