File: libapache-mod-python.postinst

package info (click to toggle)
libapache-mod-python 2%3A2.7.11-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,328 kB
  • ctags: 848
  • sloc: ansic: 2,785; python: 1,115; sh: 299; makefile: 285
file content (18 lines) | stat: -rw-r--r-- 315 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

set -e

# Source debconf library
. /usr/share/debconf/confmodule

if [ "$1" = "configure" -o "$1" = "reconfigure" ]; then
    for i in apache apache-perl apache-ssl; do
        if [ -e /etc/$i/httpd.conf ]; then
            modules-config $i enable mod_python
        fi
    done
fi

#DEBHELPER#

exit 0