summaryrefslogtreecommitdiff
path: root/debian/anastasis-httpd.postinst
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-07-30 13:10:15 +0200
committerFlorian Dold <florian@dold.me>2021-07-30 13:10:15 +0200
commite38f80edbe6f5d87c3e2466d5b11c4ff537ecd23 (patch)
treeecd7f8d224b0dae414ea578c2208416e168df54f /debian/anastasis-httpd.postinst
parentdb907aaf50ac266cb8e9c9c02f8bdebb8d9167bb (diff)
downloadanastasis-e38f80edbe6f5d87c3e2466d5b11c4ff537ecd23.tar.gz
anastasis-e38f80edbe6f5d87c3e2466d5b11c4ff537ecd23.tar.bz2
anastasis-e38f80edbe6f5d87c3e2466d5b11c4ff537ecd23.zip
debian: we just install apache2/nginx configs, no need for debconf
Diffstat (limited to 'debian/anastasis-httpd.postinst')
-rw-r--r--debian/anastasis-httpd.postinst22
1 files changed, 0 insertions, 22 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) ;;