[DRE-commits] [diaspora] 177/257: use test instead of [[
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Sun Apr 12 14:17:22 UTC 2015
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository diaspora.
commit 795a3aa3fbc7a6feeee0d5af779078d5b4aa5ab8
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Fri Nov 28 17:26:19 2014 +0530
use test instead of [[
---
debian/config | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/config b/debian/config
index b09c626..936bdac 100644
--- a/debian/config
+++ b/debian/config
@@ -22,7 +22,7 @@ db_go
# Configure pod address.
db_get diaspora/url
-if ! [[ -f /etc/diaspora.conf ]]
+if ! test -f /etc/diaspora.conf
then
echo export SERVERNAME=$RET >> /etc/diaspora.conf
sed -e "s/SERVERNAME_FIXME/$RET/" -e "s/DIASPORA_SSL_PATH_FIXME/\\/etc\\/diaspora/" -e "s/DIASPORA_ROOT_FIXME/\\/usr\\/share\\/diaspora/" /usr/share/doc/diaspora/nginx.conf.example >/etc/nginx/sites-available/$RET
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/diaspora.git
More information about the Pkg-ruby-extras-commits
mailing list