[DRE-commits] [diaspora-installer] 23/55: export variables during config as well

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Mon Dec 8 12:41:24 UTC 2014


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master
in repository diaspora-installer.

commit 840f951c7e893c27e70dd4202f4d80b99a4e47f9
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Tue Dec 2 20:23:30 2014 +0530

    export variables during config as well
---
 debian/config | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/config b/debian/config
index 7c44c4b..418f8e8 100644
--- a/debian/config
+++ b/debian/config
@@ -25,7 +25,9 @@ db_get diaspora-installer/url
 if ! test -f /etc/diaspora.conf
 	then 
 		echo export SERVERNAME=$RET >> /etc/diaspora.conf
+		export SERVERNAME=$RET
 		echo export ENVIRONMENT_URL=https://$SERVERNAME >> /etc/diaspora.conf
+		export ENVIRONMENT_URL=https://$SERVERNAME
 		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-installer/nginx.conf.example >/etc/nginx/sites-available/$RET
 		ln -fs /etc/nginx/sites-available/$RET /etc/nginx/sites-enabled/
 fi

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