mirror of
https://github.com/YunoHost-Apps/gitea_ynh.git
synced 2024-09-03 20:36:22 +02:00
Avoid to update source if not needed
This commit is contained in:
parent
f1fc562143
commit
b0e95f93c2
1 changed files with 4 additions and 2 deletions
|
@ -53,8 +53,10 @@ if [ ~"$app" != "$data_dir" ]; then
|
|||
usermod --home "$data_dir" "$app"
|
||||
fi
|
||||
|
||||
# Ensure secrets are defined
|
||||
ynh_setup_source --dest_dir="$install_dir" --source_id=main --full_replace=1 --keep=custom
|
||||
if [ "$upgrade_type" == UPGRADE_APP ]; then
|
||||
# Ensure secrets are defined
|
||||
ynh_setup_source --dest_dir="$install_dir" --source_id=main --full_replace=1 --keep=custom
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# MIGRATION STEP 2 (Set undefined Vars)
|
||||
|
|
Loading…
Add table
Reference in a new issue