1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/piwigo_ynh.git synced 2024-09-03 20:06:03 +02:00

Remove sleep statements (can't reproduce initial issues on ARM...)

This commit is contained in:
Jimmy Monin 2017-10-02 18:11:50 +02:00
parent 7812409128
commit 2c824f4be8
2 changed files with 0 additions and 2 deletions

View file

@ -140,7 +140,6 @@ adm_pwd=$(ynh_string_random 24)
ynh_app_setting_set $app admin_pwd "$adm_pwd" ynh_app_setting_set $app admin_pwd "$adm_pwd"
# Configure piwigo via curl # Configure piwigo via curl
sleep 5s
mail="$(ynh_user_get_info $admin mail)" mail="$(ynh_user_get_info $admin mail)"
ynh_local_curl "/install.php?language=$applanguage" "install=true" "dbuser=$db_user" "dbpasswd=$db_pwd" "dbname=$db_name" "admin_name=$admin" "admin_pass1=$adm_pwd" "admin_pass2=$adm_pwd" "admin_mail=$mail" ynh_local_curl "/install.php?language=$applanguage" "install=true" "dbuser=$db_user" "dbpasswd=$db_pwd" "dbname=$db_name" "admin_name=$admin" "admin_pass1=$adm_pwd" "admin_pass2=$adm_pwd" "admin_mail=$mail"

View file

@ -169,7 +169,6 @@ ynh_app_setting_set "$app" unprotected_uris "/"
yunohost app ssowatconf yunohost app ssowatconf
# Configure piwigo via curl # Configure piwigo via curl
sleep 5s
ynh_local_curl "/upgrade.php?language=$applanguage&now=true" "language=$applanguage" "username=$admin" "password=$admin_pwd" ynh_local_curl "/upgrade.php?language=$applanguage&now=true" "language=$applanguage" "username=$admin" "password=$admin_pwd"
# Make a backup of the original config file if modified # Make a backup of the original config file if modified