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

Update upgrade

wait for the construction of the folder data/data before
This commit is contained in:
Robles Rodolphe 2023-08-28 23:26:01 +02:00 committed by GitHub
parent 97100d1a83
commit cda786f4be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -94,12 +94,12 @@ chmod 660 "$install_dir/config.local.user.php"
#=================================================
ynh_script_progression --message="Finalise upgrade" --weight=1
# remove directory duplicated
ynh_secure_remove --file="$install_dir/data/data"
ynh_local_curl "/admin/index.php"
sleep 5
ynh_local_curl "/index.php"
sleep 5
# remove directory duplicated
ynh_secure_remove --file="$install_dir/data/data"
#=================================================
# END OF SCRIPT