File: postrm

package info (click to toggle)
php-idn 1.2b-5.3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 328 kB
  • ctags: 92
  • sloc: ansic: 682; xml: 624; makefile: 76; sh: 38; php: 10
file content (12 lines) | stat: -rw-r--r-- 199 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh -e

PECL_NAME=idn

if test "$1" = "purge"; then
	if which ucf >/dev/null 2>&1; then
		ucf --purge /etc/php5/conf.d/$PECL_NAME.ini
	fi
	rm -f /etc/php5/conf.d/$PECL_NAME.ini
fi

#DEBHELPER#