#! /bin/sh
set -e

case "$1" in
    configure)
	ucf /usr/share/php5-ssh2/ssh2.ini-dist /etc/php5/mods-available/ssh2.ini
	php5enmod ssh2
    ;;

    abort-upgrade|abort-remove|abort-deconfigure)
    ;;

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

#DEBHELPER#

exit 0
