Browse Source

full_replace=1

Félix Piédallu 1 năm trước cách đây
mục cha
commit
a21e0071a6
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      scripts/upgrade

+ 1 - 2
scripts/upgrade

@@ -55,7 +55,7 @@ fi
 ynh_script_progression --message="Upgrading source files..." --weight=2
 
 # Download, check integrity, uncompress and patch the source from app.src
-ynh_setup_source --dest_dir="$install_dir"
+ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="passkey Backup_list.conf"
 
 chown -R "root:root" "$install_dir"
 
@@ -77,7 +77,6 @@ if (( overwrite_cron == 1 )); then
     ynh_add_config --template="archivist.cron" --destination="/etc/cron.d/$app"
 fi
 
-
 #=================================================
 # END OF SCRIPT
 #=================================================