From e38f80edbe6f5d87c3e2466d5b11c4ff537ecd23 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 30 Jul 2021 13:10:15 +0200 Subject: 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(-) delete mode 100644 debian/anastasis-httpd.templates 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. -- cgit v1.2.3