[DRE-commits] [diaspora-installer] 01/02: set BUNDLE_WITH for mysql
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Sun Aug 28 08:03:34 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 740f93812738c00c6a39315600c09c98730896a1
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Sun Aug 28 13:02:18 2016 +0530
set BUNDLE_WITH for mysql
---
grantpriv.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/grantpriv.sh b/grantpriv.sh
index 52ba417..cc7e328 100755
--- a/grantpriv.sh
+++ b/grantpriv.sh
@@ -14,6 +14,7 @@ cp ${diaspora_database_yml_example} ${diaspora_database_yml_private}
if [ "$dbc_dbtype" = "mysql" ]; then
# Switch to mysql adapter, ugly hack, see #818863
sed -i 's/DB=postgres/DB=mysql/' ${diaspora_conf}
+ sed -i 's/BUNDLE_WITH=postgresql/BUNDLE_WITH=mysql/' ${diaspora_conf}
sed -i 's/\# <<: \*mysql/<<: \*mysql/' ${diaspora_database_yml_private}
sed -i 's/<<: \*postgres/\# <<: \*postgres/' ${diaspora_database_yml_private}
sed -i "1,10s/password: \"\"/password: \"$dbc_dbpass\"/" ${diaspora_database_yml_private}
--
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