|
@ -57,7 +57,7 @@ fi |
|
|
satellite="$(realpath "$1")" |
|
|
satellite="$(realpath "$1")" |
|
|
|
|
|
|
|
|
if [ ! -f "$satellite" ]; then |
|
|
if [ ! -f "$satellite" ]; then |
|
|
exiterr "Houston, we have a problem: Can't find satellite file" |
|
|
exiterr "Can't find satellite file" |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
# Tools for the astronaut |
|
|
# Tools for the astronaut |
|
@ -83,7 +83,7 @@ download() { |
|
|
checksum="$(mksum "$path")" |
|
|
checksum="$(mksum "$path")" |
|
|
if [ "$2" -a "$checksum" != "$2" ]; then |
|
|
if [ "$2" -a "$checksum" != "$2" ]; then |
|
|
msg "Checksum: $checksum" |
|
|
msg "Checksum: $checksum" |
|
|
exiterr "Houston, we have a problem: Checksum failed." |
|
|
exiterr "Checksum failed" |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
} |
|
|
} |
|
|