From 078ed6e22c5c33d78adf496fa5d346155960cae3 Mon Sep 17 00:00:00 2001 From: Alexis Gavoty Date: Sat, 7 Dec 2013 00:46:19 +0100 Subject: [PATCH] Update install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 43f02f7..6fef299 100755 --- a/scripts/install +++ b/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 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') - if [ $j = "" ]; + if [ "$j" = "" ]; then # For obscure reasons, the loop is too fast at execution sleep 1