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

try remove directory duplicated
This commit is contained in:
Robles Rodolphe 2023-08-05 02:20:28 +02:00 committed by GitHub
parent e74680fe88
commit d98bb755e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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