File: libembperl-perl.prerm

package info (click to toggle)
libembperl-perl 2.5.0~rc3-1~bpo70%2B1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 5,800 kB
  • sloc: ansic: 21,228; perl: 13,985; cpp: 467; xml: 49; makefile: 27; sh: 24
file content (18 lines) | stat: -rw-r--r-- 311 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

set -e

#DEBHELPER#

if [ "$1" = remove ]; then
    if [ -x /usr/sbin/a2dismod ]; then
	a2dismod zembperl || true
	if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
	    invoke-rc.d apache2 reload || true
	elif [ -x /usr/sbin/apache2ctl ]; then
	    apache2ctl graceful || true
	fi
    fi
fi

exit 0