epic-ts
[kivitendo-erp.git] / debian / kivitendo.postinst
index f217489..7307ac8 100755 (executable)
@@ -18,7 +18,7 @@ then
        if [ -n "$a" ]
        then
                # password is given
-               su postgres -c "createuser -ds kivitendo ; psql -c 'ALTER USER kivitendo WITH PASSWORD \"$a\";'"
+               su postgres -c "createuser -ds kivitendo ; psql -c \"ALTER USER kivitendo WITH PASSWORD '$a';\""
        else
                su postgres -c "createuser -dPs kivitendo"
        fi