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

Update install

This commit is contained in:
ericgaspar 2021-07-19 10:14:22 +02:00
parent 1bc46f6f84
commit 88b55e5678
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -78,7 +78,7 @@ ynh_script_progression --message="Setting up source files..." --weight=5
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
# 1 - Clone stable repo
git clone https://github.com/friendica/friendica.git -b stable "$final_path"
git clone --quiet https://github.com/friendica/friendica.git -b stable "$final_path"
# Reset branch to the level of update we needed
pushd "$final_path"
git reset --hard $version_commit
@ -88,7 +88,7 @@ popd
cp -f "$final_path/.htaccess-dist" "$final_path/.htaccess"
# 2 - Clone addons repo
git clone https://github.com/friendica/friendica-addons.git -b stable "$final_path/addon"
git clone --quiet https://github.com/friendica/friendica-addons.git -b stable "$final_path/addon"
# Reset addons branch to the level of update we needed
pushd "$final_path/addon"
git reset --hard $addons_version_commit