summaryrefslogtreecommitdiffstats
path: root/debian/ttyd.postinst
blob: b3a83c8d6474398cd410818c90118db7e43c19b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/sh

set -e

case "${1}" in
	configure)
		a2enmod rewrite
		a2enmod proxy
		a2enmod proxy_http
		a2enmod proxy_http2
		a2enmod proxy_wstunnel

		a2enconf ttyd
		;;

	abort-upgrade|abort-remove|abort-deconfigure)

		;;

	*)
		echo "postinst called with unknown argument \`${1}'" >&2
		exit 1
		;;
esac

#DEBHELPER#

exit 0