File: php-dev.postinst

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

set -e

if [ "$1" = "configure" ]; then
    update-alternatives \
        --install /usr/bin/php-config php-config /usr/bin/php-config.default 100 \
        --slave /usr/share/man/man1/php-config.1.gz php-config.1.gz /usr/share/man/man1/php-config.default.1.gz
    update-alternatives \
        --install /usr/bin/phpize phpize /usr/bin/phpize.default 100 \
        --slave /usr/share/man/man1/phpize.1.gz phpize.1.gz /usr/share/man/man1/phpize.default.1.gz
fi

#DEBHELPER#

exit 0