#!/bin/sh

set -e

if [ "$1" = "configure" ]; then
    for i in php-config phpize; do
	update-alternatives \
	    --install /usr/bin/"$i" $i /usr/bin/"$i"5 50 \
	    --slave /usr/share/man/man1/"$i".1.gz "$i".1.gz /usr/share/man/man1/"$i"5.1.gz
    done
fi

#DEBHELPER#

exit 0
