1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/framagames_ynh.git synced 2024-09-03 18:36:28 +02:00

Correction of typo

This commit is contained in:
polytan02 2017-01-17 19:11:33 +00:00
parent 85771186b5
commit cb3ea88b1a
2 changed files with 2 additions and 2 deletions

View file

@ -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 wget -nv -i ../sources/source_url -O framagames-${SHA1}.zip
sudo md5sum -c ../sources/source_md5 --status || (echo "Corrupt source" >&2 && false) sudo md5sum -c ../sources/source_md5 --status || (echo "Corrupt source" >&2 && false)
sudo unzip framagames-${SHA1}.zip -d ../sources/ 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 # Set permissions
sudo chmod 775 -R $final_path sudo chmod 775 -R $final_path

View file

@ -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 wget -nv -i ../sources/source_url -O framagames-${SHA1}.zip
sudo md5sum -c ../sources/source_md5 --status || (echo "Corrupt source" >&2 && false) sudo md5sum -c ../sources/source_md5 --status || (echo "Corrupt source" >&2 && false)
sudo unzip framagames-${SHA1}.zip -d ../sources/ 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 # Set permissions
sudo chmod 775 -R $final_path sudo chmod 775 -R $final_path