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:
parent
b2b96f91eb
commit
5fa3769cc1
2 changed files with 4 additions and 4 deletions
|
@ -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 ..
|
||||
|
||||
|
|
|
@ -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 ..
|
||||
|
||||
|
|
Loading…
Reference in a new issue