From f1a691b759c9ebece25630a5eb5a7e0624be9ab7 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 11 Oct 2014 19:31:31 +0100 Subject: [PATCH] Quotes --- install-freedombone.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install-freedombone.sh b/install-freedombone.sh index bfac7fbe..b5b4dee3 100755 --- a/install-freedombone.sh +++ b/install-freedombone.sh @@ -3862,8 +3862,8 @@ function install_blog { # create a user cp /var/www/$FULLBLOG_DOMAIN_NAME/htdocs/config/users/username.ini.example /var/www/$FULLBLOG_DOMAIN_NAME/htdocs/config/users/$MY_USERNAME.ini - HASHED_BLOG_PASSWORD=$(sha256sum $FULLBLOG_ADMIN_PASSWORD) - sed -i "s/yourpassword/$HASHED_BLOG_PASSWORD/g" /var/www/$FULLBLOG_DOMAIN_NAME/htdocs/config/users/$MY_USERNAME.ini + HASHED_BLOG_PASSWORD="$(sha256sum $FULLBLOG_ADMIN_PASSWORD)" + sed -i "s|yourpassword|'$HASHED_BLOG_PASSWORD'|g" /var/www/$FULLBLOG_DOMAIN_NAME/htdocs/config/users/$MY_USERNAME.ini sed -i 's/encryption = clear/encryption = sha256/g' /var/www/$FULLBLOG_DOMAIN_NAME/htdocs/config/users/$MY_USERNAME.ini nginx_ensite $FULLBLOG_DOMAIN_NAME