소스 검색

full_replace=1

Félix Piédallu 1 년 전
부모
커밋
a21e0071a6
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  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
 #=================================================