1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/libreto_ynh.git synced 2024-09-03 19:36:14 +02:00
This commit is contained in:
Éric Gaspar 2023-03-09 09:45:52 +01:00
parent 596dbd4d3e
commit ca406247df
2 changed files with 4 additions and 0 deletions

View file

@ -68,6 +68,8 @@ ynh_system_user_create --username=$app --home_dir="$final_path"
ynh_script_progression --message="Setting up source files..." --weight=4
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
git config --system --add safe.directory $final_path
# Note: We use git instead of ynh_setup_source, cause this repo use submodules
git clone https://github.com/zamentur/libreto.git "$final_path" --quiet

View file

@ -75,6 +75,8 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
then
ynh_script_progression --message="Upgrading source files..." --weight=5
git config --system --add safe.directory $final_path
# Download, check integrity, uncompress and patch the source from app.src
pushd "$final_path"
git checkout master