diff --git a/scripts/.fonctions b/scripts/.fonctions index 2d47932..d8f459e 100644 --- a/scripts/.fonctions +++ b/scripts/.fonctions @@ -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