gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-anastasis] branch master updated: debian: we just install apache2


From: gnunet
Subject: [taler-anastasis] branch master updated: debian: we just install apache2/nginx configs, no need for debconf
Date: Fri, 30 Jul 2021 13:10:18 +0200

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

dold pushed a commit to branch master
in repository anastasis.

The following commit(s) were added to refs/heads/master by this push:
     new e38f80e  debian: we just install apache2/nginx configs, no need for 
debconf
e38f80e is described below

commit e38f80edbe6f5d87c3e2466d5b11c4ff537ecd23
Author: Florian Dold <florian@dold.me>
AuthorDate: Fri Jul 30 13:10:15 2021 +0200

    debian: we just install apache2/nginx configs, no need for debconf
---
 debian/anastasis-httpd.postinst  | 22 ----------------------
 debian/anastasis-httpd.templates |  7 -------
 2 files changed, 29 deletions(-)

diff --git a/debian/anastasis-httpd.postinst b/debian/anastasis-httpd.postinst
index fcf9062..3899972 100644
--- a/debian/anastasis-httpd.postinst
+++ b/debian/anastasis-httpd.postinst
@@ -15,9 +15,6 @@ dbc_dbfile_perms="0600"
 
 case "${1}" in
 configure)
-  db_version 2.0
-
-  echo "  User setup"
   # Creating taler users if needed
   if ! getent passwd ${_USERNAME} >/dev/null; then
     adduser --quiet --system --ingroup ${_GROUPNAME} --home ${TALER_HOME} 
${_USERNAME}
@@ -30,25 +27,6 @@ configure)
     dbc_go anastasis "$@"
   fi
 
-  # Configure Webserver
-  echo "  Configuring Webserver"
-  db_get anastasis/reconfigure-webserver
-  webservers="$RET"
-  for webserver in $webservers; do
-    webserver=${webserver%,}
-    if [ "$webserver" = "nginx" ]; then
-      nginx_install "$SECRET"
-    else
-      apache_install "$SECRET"
-    fi
-  done
-  echo "Done."
-
-  db_stop
-
-  # Cleaning
-  echo "All done."
-
   ;;
 
 abort-upgrade | abort-remove | abort-deconfigure) ;;
diff --git a/debian/anastasis-httpd.templates b/debian/anastasis-httpd.templates
deleted file mode 100644
index 1b1db15..0000000
--- a/debian/anastasis-httpd.templates
+++ /dev/null
@@ -1,7 +0,0 @@
-Template: anastasis/reconfigure-webserver
-Type: multiselect
-Choices: apache2, nginx
-Default: apache2, nginx
-_Description: Web server to reconfigure automatically:
- Please choose the web server that should be automatically configured
- as a frontend for anastasis-httpd.

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]