File: prerm

package info (click to toggle)
php-apc 3.1.13-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 1,208 kB
  • sloc: ansic: 10,815; php: 1,023; xml: 981; makefile: 75; sh: 44; pascal: 32
file content (23 lines) | stat: -rw-r--r-- 346 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
#!/bin/sh
set -e

dpkg-maintscript-helper mv_conffile /etc/php5/conf.d/apc.ini \
	/etc/php5/mods-available/apc.ini 3.1.10-1~ -- "$@"

case "$1" in
    remove|upgrade|deconfigure)
	php5dismod apc
    ;;

    failed-upgrade)
    ;;

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

#DEBHELPER#

exit 0