diff --git a/scripts/install b/scripts/install index da6cf26..c8a119b 100644 --- a/scripts/install +++ b/scripts/install @@ -119,7 +119,7 @@ sed -i "s@SHA1TOCHANGE@$SHA1@g" ../sources/source_md5 sudo wget -nv -i ../sources/source_url -O framagames-${SHA1}.zip sudo md5sum -c ../sources/source_md5 --status || (echo "Corrupt source" >&2 && false) sudo unzip framagames-${SHA1}.zip -d ../sources/ -sudo cp -a ../sources/framagames-${SHA1}/.* $final_path +sudo cp -R ../sources/framagames-${SHA1}/* $final_path # Set permissions sudo chmod 775 -R $final_path diff --git a/scripts/upgrade b/scripts/upgrade index f242f4a..a2315eb 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -38,7 +38,7 @@ sed -i "s@SHA1TOCHANGE@$SHA1@g" ../sources/source_md5 sudo wget -nv -i ../sources/source_url -O framagames-${SHA1}.zip sudo md5sum -c ../sources/source_md5 --status || (echo "Corrupt source" >&2 && false) sudo unzip framagames-${SHA1}.zip -d ../sources/ -sudo cp -a ../sources/framagames-${SHA1}/.* $final_path +sudo cp -R ../sources/framagames-${SHA1}/* $final_path # Set permissions sudo chmod 775 -R $final_path