Browse Source

Remove legacy code

pull/64/head
Maniack Crudelis 7 years ago
committed by GitHub
parent
commit
cdcc8dba72
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      scripts/install

7
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 for i in 1 2 3 4 5 6 7 8
do do
j=$(ynh_string_random --length=40) 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 ynh_replace_string --match_string="KEY$i" --replace_string="$j" --target_file=$final_path/wp-config.php
sleep 0.5
done done
#================================================= #=================================================

Loading…
Cancel
Save