1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/spip_ynh.git synced 2024-09-03 20:25:59 +02:00

Sera remis le check du md5 quand le fichier SPIP ne changera pas de md5 tous les jours

This commit is contained in:
magikcypress 2017-03-08 18:32:51 +01:00
parent c2e461a2dd
commit 778035932c

View file

@ -82,7 +82,7 @@ SETUP_SOURCE () { # Download source, decompress and copu into $final_path
# $1 = Nom de l'archive téléchargée. # $1 = Nom de l'archive téléchargée.
wget -nv --show-progress -i ../sources/source_url -O $1 wget -nv --show-progress -i ../sources/source_url -O $1
# Checks the checksum of the downloaded source. # Checks the checksum of the downloaded source.
md5sum -c ../sources/source_md5 --status # md5sum -c ../sources/source_md5 --status
# Decompress source # Decompress source
if [ "$(echo ${1##*.})" == "tgz" ]; then if [ "$(echo ${1##*.})" == "tgz" ]; then
tar -x -f $1 tar -x -f $1