Browse Source

Update install

pull/1/head
Alexis Gavoty 12 years ago
parent
commit
078ed6e22c
  1. 2
      scripts/install

2
scripts/install

@ -36,7 +36,7 @@ sudo sed -i "s/yunobase/$db_user/g" $final_path/wp-config.php
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=$(dd if=/dev/urandom bs=1 count=200 2> /dev/null | tr -c -d '[A-Za-z0-9]' | sed -n 's/\(.\{40\}\).*/\1/p') j=$(dd if=/dev/urandom bs=1 count=200 2> /dev/null | tr -c -d '[A-Za-z0-9]' | sed -n 's/\(.\{40\}\).*/\1/p')
if [ $j = "" ];
if [ "$j" = "" ];
then then
# For obscure reasons, the loop is too fast at execution # For obscure reasons, the loop is too fast at execution
sleep 1 sleep 1

Loading…
Cancel
Save