1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/h5ai_ynh.git synced 2024-09-03 20:36:25 +02:00
This commit is contained in:
inrepublica 2016-06-02 16:16:34 +02:00
parent e7fcecd29a
commit a0492219fb

View file

@ -27,7 +27,7 @@ sudo yunohost app checkurl "${domain}${path}" -a "$app" \
sudo wget -q https://release.larsjung.de/h5ai/h5ai-$version.zip -O /tmp/h5ai.zip sudo wget -q https://release.larsjung.de/h5ai/h5ai-$version.zip -O /tmp/h5ai.zip
# Check md5 # Check md5
md5_check=($(md5sum /tmp/hai.zip)) md5_check=($(md5sum /tmp/h5ai.zip))
if [ $md5_source != $md5_check ] if [ $md5_source != $md5_check ]
then then
ynh_die "the download is corrupted (md5 different)" ynh_die "the download is corrupted (md5 different)"