File: prerm

package info (click to toggle)
php3 3%3A3.0.18-31
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 17,860 kB
  • ctags: 11,260
  • sloc: ansic: 108,487; sh: 2,439; php: 2,024; yacc: 1,887; makefile: 1,056; perl: 537; pascal: 238; awk: 90; cpp: 28; sql: 11
file content (19 lines) | stat: -rw-r--r-- 284 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

set -e

if [ "$1" != "remove" -a "$1" != "purge" ]; then
	exit 0
fi;

if [ -x /usr/sbin/apache-modconf ]; then
 for i in apache apache-perl apache-ssl; do
  if [ -e /etc/$i/httpd.conf ]; then
   apache-modconf $i disable mod_php3 quiet
  fi
 done
fi

#DEBHELPER#

exit 0