From 945b5ce7f9e1888a9597f8ffcec8aa917b7036c4 Mon Sep 17 00:00:00 2001 From: Praveen Arimbrathodiyil Date: Fri, 29 Jan 2016 21:57:02 +0530 Subject: [PATCH] update quotes --- debian/grantpriv.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/grantpriv.sh b/debian/grantpriv.sh index 0bd0e93ded..284bb530e0 100755 --- a/debian/grantpriv.sh +++ b/debian/grantpriv.sh @@ -8,14 +8,14 @@ dbname=gitlab_production if ! su gitlab -c 'psql gitlab_production -c ""' then echo "Create $user user with create database privillege..." - su postgres -c 'psql -c "CREATE USER $user CREATEDB;"' || { + su postgres -c "psql -c \"CREATE USER $user CREATEDB;\"" || { exit 1 } fi # By default the gitlab_prodcution is not owned by gitlab user echo "Make $user user owner of $dbname database..." -su postgres -c 'psql -c "ALTER DATABASE $dbname OWNER to $user;"' || { +su postgres -c "psql -c \"ALTER DATABASE $dbname OWNER to $user;\"" || { exit 1 }