File: php-cgi.prerm

package info (click to toggle)
php-defaults 96
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 252 kB
  • sloc: sh: 858; makefile: 66
file content (12 lines) | stat: -rw-r--r-- 240 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

set -e

if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
    update-alternatives --remove php-cgi /usr/bin/php-cgi.default
    update-alternatives --remove php-cgi-bin /usr/lib/cgi-bin/php.default
fi

#DEBHELPER#

exit 0