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 2016-12-24 14:01:49 +00:00
parent b2b96f91eb
commit 5fa3769cc1
2 changed files with 4 additions and 4 deletions

View file

@ -99,15 +99,15 @@ ynh_app_setting_set "$app" finalphpconf "$finalphpconf"
sudo mkdir -p $final_path
# We download the sources and go to latest revision
URL=`sudo cat ../sources/source_url`;
SHA1=`sudo cat ../sources/source_sha1`;
sudo rm -rf ./gitsources
sudo mkdir gitsources
sudo chmod 777 gitsources
# We get the repository address
URL=`sudo cat ../sources/source_url`;
sudo git clone $URL gitsources
# We reset to the latest known revision
cd gitsources
SHA1=`sudo cat ../sources/source_sha1`;
sudo git reset --hard $SHA1
cd ..

View file

@ -32,15 +32,15 @@ sudo rm -rf $final_path
sudo mkdir -p $final_path
# We download the sources and go to latest revision
URL=`sudo cat ../sources/source_url`;
SHA1=`sudo cat ../sources/source_sha1`;
sudo rm -rf ./gitsources
sudo mkdir gitsources
sudo chmod 777 gitsources
# We get the repository address
URL=`sudo cat ../sources/source_url`;
sudo git clone $URL gitsources
# We reset to the latest known revision
cd gitsources
SHA1=`sudo cat ../sources/source_sha1`;
sudo git reset --hard $SHA1
cd ..