File: libapache2-mod-mono.postinst

package info (click to toggle)
mod-mono 1.2.1-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,640 kB
  • ctags: 230
  • sloc: sh: 8,606; ansic: 1,750; makefile: 120
file content (20 lines) | stat: -rw-r--r-- 246 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh -e

set -e

#DEBHELPER#

if [ "$1" != "configure" ]; then
    exit 0
fi

if [ -n "$2" ]; then
# we're upgrading, don't ask again
    exit 0
fi

if [ -e /etc/apache2/apache2.conf ]; then
    /usr/sbin/a2enmod mod_mono || true
fi

exit 0