mirror of
https://github.com/YunoHost-Apps/cops_ynh.git
synced 2024-09-03 18:25:57 +02:00
Adjustments on md5sum
This commit is contained in:
parent
59647f85b8
commit
d858958a95
2 changed files with 2 additions and 4 deletions
|
@ -60,10 +60,9 @@ sudo mkdir -p $final_path
|
|||
|
||||
# We download the sources and check the md5sum
|
||||
cops_file=`sudo cat ../sources/source_file`;
|
||||
sudo wget -nv -i ../sources/source_url
|
||||
sudo wget -nv -i ../sources/source_url -O $cops_file
|
||||
sudo md5sum -c ../sources/source_md5 --status || (echo "Corrupt source" >&2 && false)
|
||||
sudo unzip ${cops_file} -d $final_path
|
||||
sudo rm -f ${cops_file}
|
||||
|
||||
# Site adjustments
|
||||
sed -i "s@CALIBRETOCHANGE@$calibrepath@g" ../conf/config_local.php
|
||||
|
|
|
@ -38,10 +38,9 @@ sudo mkdir -p $final_path
|
|||
|
||||
# We download the sources and check the md5sum
|
||||
cops_file=`sudo cat ../sources/source_file`;
|
||||
sudo wget -nv -i ../sources/source_url -P
|
||||
sudo wget -nv -i ../sources/source_url -O $cops_file
|
||||
sudo md5sum -c ../sources/source_md5 --status || (echo "Corrupt source" >&2 && false)
|
||||
sudo unzip ${cops_file} -d $final_path
|
||||
sudo rm -f ${cops_file}
|
||||
|
||||
# Site adjustments
|
||||
sed -i "s@CALIBRETOCHANGE@$calibrepath@g" ../conf/config_local.php
|
||||
|
|
Loading…
Reference in a new issue