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

Fix plugins branch to stable

This commit is contained in:
tituspijean 2022-08-04 17:02:40 +02:00
parent fc8dcbc952
commit 46d0b92302
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

View file

@ -87,7 +87,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
# 1 - Clone stable repo
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"
@ -97,8 +97,8 @@ popd
# Copy .htaccess-dist to ..htaccess
cp -f "$final_path/.htaccess-dist" "$final_path/.htaccess"
# 2 - Clone addons repo
git clone --quiet https://github.com/friendica/friendica-addons.git -b develop "$final_path/addon"
# 2 - Clone addons repo
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 --quiet $addons_version_commit