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:
parent
c2e461a2dd
commit
778035932c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue