anastasis

Credential backup and recovery protocol and service
Log | Files | Refs | Submodules | README | LICENSE

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

debian: we just install apache2/nginx configs, no need for debconf

Diffstat:
Mdebian/anastasis-httpd.postinst | 22----------------------
Ddebian/anastasis-httpd.templates | 7-------
2 files changed, 0 insertions(+), 29 deletions(-)

diff --git 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 @@ -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.