diff --git a/scripts/.fonctions b/scripts/.fonctions index 1e64377..871c85d 100644 --- a/scripts/.fonctions +++ b/scripts/.fonctions @@ -69,7 +69,7 @@ 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 # 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 diff --git a/scripts/install b/scripts/install index 5489909..3e2c039 100755 --- a/scripts/install +++ b/scripts/install @@ -57,8 +57,8 @@ sudo cp ../conf/dokuwiki.php $final_path/conf sudo cp ../conf/acl.auth.php $final_path/conf # Files owned by www-data can just read -sudo find $final_path -type f -print0 | xargs sudo chmod 0644 -sudo find $final_path -type d -print0 | xargs sudo chmod 0755 +sudo find $final_path -type f -print0 | xargs -0 sudo chmod 0644 +sudo find $final_path -type d -print0 | xargs -0 sudo chmod 0755 sudo chown -R www-data: $final_path # except for conf, data, some data subfolders, and lib/plugin, where www-data must have write permissions