1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/overleaf_ynh.git synced 2024-09-03 19:56:27 +02:00

Update upgrade

This commit is contained in:
Thomas 2024-02-12 18:43:04 +01:00 committed by GitHub
parent 0270f95350
commit df4e1c0ba2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -111,8 +111,10 @@ cp -r "$install_dir/build/libraries/" "$install_dir/live/libraries/"
cp -r "$install_dir/build/services/" "$install_dir/live/services/" cp -r "$install_dir/build/services/" "$install_dir/live/services/"
cp -r "$install_dir/build/patches/" "$install_dir/live/patches/" cp -r "$install_dir/build/patches/" "$install_dir/live/patches/"
ynh_secure_remove --file="$install_dir/config/"
ynh_secure_remove --file="$install_dir/live/services/history-v1/config/"
ynh_add_config --template="../conf/production.json" --destination="$install_dir/build/server-ce/config/production.json" ynh_add_config --template="../conf/production.json" --destination="$install_dir/build/server-ce/config/production.json"
cp -r "$install_dir/build/server-ce/config" "$install_dir/config/" cp -r "$install_dir/build/server-ce/config/" "$install_dir/config/"
cp -r "$install_dir/build/server-ce/config/" "$install_dir/live/services/history-v1/config/" cp -r "$install_dir/build/server-ce/config/" "$install_dir/live/services/history-v1/config/"
ynh_secure_remove --file="$install_dir/build" ynh_secure_remove --file="$install_dir/build"