File: php-cli.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 (13 lines) | stat: -rw-r--r-- 229 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
    for binary in php phar phar phar.phar; do
        update-alternatives --remove ${binary} /usr/bin/${binary}.default
    done
fi

#DEBHELPER#

exit 0