File: postinst

package info (click to toggle)
libapache-mod-choke 0.06-2.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 120 kB
  • ctags: 70
  • sloc: ansic: 764; makefile: 56; sh: 41
file content (25 lines) | stat: -rw-r--r-- 374 bytes parent folder | download
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
#! /bin/sh
# postinst script for libapache-mod-dav
#

set -e


case "$1" in
  configure)
    for i in apache apache-ssl apache-perl ; do
      [ -x /usr/sbin/$i ] && /usr/sbin/apache-modconf $i enable mod_choke
  done
  ;;

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

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

#DEBHELPER#

exit 0