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:
parent
97100d1a83
commit
cda786f4be
1 changed files with 3 additions and 3 deletions
|
@ -94,12 +94,12 @@ 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"
|
||||||
|
sleep 5
|
||||||
|
# remove directory duplicated
|
||||||
|
ynh_secure_remove --file="$install_dir/data/data"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
|
|
Loading…
Add table
Reference in a new issue