[DRE-commits] [diaspora-installer] 01/23: move debconf questions before adduser

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Wed Jan 25 21:57:47 UTC 2017


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

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

commit 54c7825e81e9a9428de23a43ce9361b03d11c5ab
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Tue Jan 24 20:01:40 2017 +0530

    move debconf questions before adduser
---
 debian/diaspora-common.postinst | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/diaspora-common.postinst b/debian/diaspora-common.postinst
index 960e134..6e73a82 100755
--- a/debian/diaspora-common.postinst
+++ b/debian/diaspora-common.postinst
@@ -31,6 +31,10 @@ case "$1" in
     # Source varibales
     . /etc/diaspora/diaspora-common.conf
 
+    # Show debconf questions
+    . /usr/share/debconf/confmodule
+    . /usr/share/dbconfig-common/dpkg/postinst
+
     # Create diaspora user
     ${diaspora_scripts}/adduser.sh
 
@@ -47,10 +51,6 @@ case "$1" in
     test -f ${diaspora_conf_private} ||\
     cp ${diaspora_conf_example} ${diaspora_conf_private}
 
-    # Show debconf questions
-    . /usr/share/debconf/confmodule
-    . /usr/share/dbconfig-common/dpkg/postinst
-
     dbc_go diaspora-common "$@"
      
 	    # Configure pod address.

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