Files
server/var/lib/dpkg/info/libapache2-mod-python.postinst
2026-01-07 20:52:11 +01:00

23 lines
580 B
Bash
Executable File

#!/bin/sh
set -e
# Automatically added by dh_apache2/UNDECLARED
if true; then
if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
. /usr/share/apache2/apache2-maintscript-helper
for conf in python ; do
apache2_invoke enmod $conf || exit 1
done
fi
fi
# End automatically added section
# Automatically added by dh_python3
if command -v py3compile >/dev/null 2>&1; then
py3compile -p libapache2-mod-python:amd64
fi
if command -v pypy3compile >/dev/null 2>&1; then
pypy3compile -p libapache2-mod-python:amd64 || true
fi
# End automatically added section