[DRE-commits] [diaspora-installer] 04/06: set BUNDLE_WITH only when not present

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Sun Aug 28 17:23:58 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 bd7a68169e41567c8d5b66f568a069243cc014f0
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Sun Aug 28 22:35:52 2016 +0530

    set BUNDLE_WITH only when not present
---
 set-env-diaspora.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/set-env-diaspora.sh b/set-env-diaspora.sh
index 666229a..3e29f19 100755
--- a/set-env-diaspora.sh
+++ b/set-env-diaspora.sh
@@ -4,9 +4,9 @@
 . /etc/diaspora/diaspora-common.conf
 if test -f ${diaspora_conf}; then
   echo "Using ${diaspora_conf}..."
-  echo "Older versions did not set BUNDLE_WITH variable"
-  echo "Setting BUNDLE_WITH variable in ${diaspora_conf}..."
   if ! grep BUNDLE_WITH ${diaspora_conf}; then
+    echo "Older versions did not set BUNDLE_WITH variable"
+    echo "Setting BUNDLE_WITH variable in ${diaspora_conf}..."
     if [ $(grep DB ${diaspora_conf} |cut -d= -f2) = "postgres" ]; then
       echo export BUNDLE_WITH=postgresql >> ${diaspora_conf}
     else

-- 
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