[DRE-commits] [diaspora-installer] 02/05: Change variable name to servicename
Balasankar C
balasankarc-guest at moszumanska.debian.org
Sun Nov 15 09:41:27 UTC 2015
This is an automated email from the git hooks/post-receive script.
balasankarc-guest pushed a commit to branch debconf
in repository diaspora-installer.
commit c2728df99836437a85f1cc30aa94edcecb0fc190
Author: Balasankar C <balasankarc at autistici.org>
Date: Sun Nov 15 15:10:02 2015 +0530
Change variable name to servicename
---
debian/diaspora-common.postinst | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/debian/diaspora-common.postinst b/debian/diaspora-common.postinst
index add5bac..54bd34a 100755
--- a/debian/diaspora-common.postinst
+++ b/debian/diaspora-common.postinst
@@ -87,8 +87,8 @@ case "$1" in
selectedservices=$RET
if [ "$RET" != "" ]; then
#Check if Facebook is selected
- service="Facebook"
- if [ "${selectedservices#*$service}" != "$RET" ]; then
+ servicename="Facebook"
+ if [ "${selectedservices#*$servicename}" != "$RET" ]; then
db_beginblock
db_input high diaspora-common/facebook_app_id || true
db_go
@@ -116,8 +116,8 @@ case "$1" in
echo export SERVICES_FACEBOOK_APP_ID=$facebook_app_id >> /etc/diaspora.conf
echo export SERVICES_FACEBOOK_SECRET=$facebook_secret >> /etc/diaspora.conf
fi
- service="Twitter"
- if [ "${selectedservices#*$service}" != "$RET" ]; then
+ servicename="Twitter"
+ if [ "${selectedservices#*$servicename}" != "$RET" ]; then
db_beginblock
db_input high diaspora-common/twitter_key || true
db_go
@@ -145,8 +145,8 @@ case "$1" in
echo export SERVICES_TWITTER_KEY=$twitter_key >> /etc/diaspora.conf
echo export SERVICES_TWITTER_SECRET=$twitter_secret >> /etc/diaspora.conf
fi
- service="Tumblr"
- if [ "${selectedservices#*$service}" != "$RET" ]; then
+ servicename="Tumblr"
+ if [ "${selectedservices#*$servicename}" != "$RET" ]; then
db_beginblock
db_input high diaspora-common/tumblr_key || true
db_go
@@ -174,8 +174,8 @@ case "$1" in
echo export SERVICES_TUMBLR_KEY=$tumblr_key >> /etc/diaspora.conf
echo export SERVICES_TUMBLR_SECRET=$tumblr_secret >> /etc/diaspora.conf
fi
- service="Wordpress"
- if [ "${selectedservices#*$service}" != "$RET" ]; then
+ servicename="Wordpress"
+ if [ "${selectedservices#*$servicename}" != "$RET" ]; then
db_beginblock
db_input high diaspora-common/wordpress_client_id || true
db_go
--
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