diff --git a/scripts/install b/scripts/install index 21d7e4a..4b2f531 100644 --- a/scripts/install +++ b/scripts/install @@ -122,13 +122,8 @@ ynh_replace_string --match_string="__DB_PWD__" --replace_string="$db_pwd" --targ for i in 1 2 3 4 5 6 7 8 do j=$(ynh_string_random --length=40) - if [ "$j" = "" ]; - then - # For obscure reasons, the loop is too fast at execution - sleep 1 - j=$(ynh_string_random --length=40) - fi ynh_replace_string --match_string="KEY$i" --replace_string="$j" --target_file=$final_path/wp-config.php + sleep 0.5 done #=================================================