[DRE-commits] [diaspora-installer] 03/04: use correct database.yml path
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Sat Jul 2 15:24:48 UTC 2016
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository diaspora-installer.
commit 58d1f537068a45b7abaf4e4857ad04b42f0b435f
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Sat Jul 2 20:41:11 2016 +0530
use correct database.yml path
---
grantpriv.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/grantpriv.sh b/grantpriv.sh
index 3c9dfb0..feb24bb 100755
--- a/grantpriv.sh
+++ b/grantpriv.sh
@@ -18,8 +18,8 @@ if [ "$dbc_dbtype" = "mysql" ]; then
fi
# Switch to postgres adapter, ugly hack, see #818863
-sed -i 's/<<: \*mysql/\# <<: \*mysql/' ${diaspora_database_yml}
-sed -i 's/\# <<: \*postgres/<<: \*postgres/' ${diaspora_database_yml}
+sed -i 's/<<: \*mysql/\# <<: \*mysql/' ${diaspora_database_yml_private}
+sed -i 's/\# <<: \*postgres/<<: \*postgres/' ${diaspora_database_yml_private}
echo "Make $user user owner of $dbname database..."
sudo -u postgres psql -c "ALTER DATABASE $dbname OWNER to $user;" || {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/diaspora-installer.git
More information about the Pkg-ruby-extras-commits
mailing list