mirror of
https://github.com/YunoHost-Apps/grav_ynh.git
synced 2024-09-03 19:16:01 +02:00
Comment md5sum + sudo wget .fonctions
This commit is contained in:
parent
5cc3bcd1d8
commit
3ebf0a4c19
1 changed files with 2 additions and 2 deletions
|
@ -80,9 +80,9 @@ GENERATE_DB () { # Create a database and a dedicated user in the name of the app
|
|||
|
||||
SETUP_SOURCE () { # Download source, decompress and copu into $final_path
|
||||
# $1 = Nom de l'archive téléchargée.
|
||||
wget -nv --show-progress -i ../sources/source_url -O $1
|
||||
sudo wget -nv --show-progress -i ../sources/source_url -O $1
|
||||
# Checks the checksum of the downloaded source.
|
||||
md5sum -c ../sources/source_md5 --status
|
||||
# md5sum -c ../sources/source_md5 --status
|
||||
# Decompress source
|
||||
if [ "$(echo ${1##*.})" == "tgz" ]; then
|
||||
tar -x -f $1
|
||||
|
|
Loading…
Add table
Reference in a new issue