From ba729bd1d3089ba48b57ff6cab7e4ca21ccb4146 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 13:08:08 +0200 Subject: Adding debian version 1.29.3-4. Signed-off-by: Daniel Baumann --- debian/netdata-apache2.postinst | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100755 debian/netdata-apache2.postinst (limited to 'debian/netdata-apache2.postinst') diff --git a/debian/netdata-apache2.postinst b/debian/netdata-apache2.postinst new file mode 100755 index 0000000..037bdca --- /dev/null +++ b/debian/netdata-apache2.postinst @@ -0,0 +1,31 @@ +#!/bin/sh + +set -e + +case "${1}" in + configure) + if [ -e /usr/share/apache2/apache2-maintscript-helper ] + then + . /usr/share/apache2/apache2-maintscript-helper + + apache2_invoke enmod proxy + apache2_invoke enmod proxy_http + apache2_invoke enmod rewrite + + apache2_reload restart + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`${1}'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 -- cgit v1.2.3