18 lines
399 B
Bash
18 lines
399 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
if [ "$1" = "configure" ]; then
|
|
update-alternatives \
|
|
--install /usr/bin/php-cgi php-cgi /usr/bin/php-cgi.default 100 \
|
|
--slave /usr/share/man/man1/php-cgi.1.gz php-cgi.1.gz \
|
|
/usr/share/man/man1/php-cgi.default.1.gz
|
|
|
|
update-alternatives \
|
|
--install /usr/lib/cgi-bin/php php-cgi-bin /usr/lib/cgi-bin/php.default 100
|
|
fi
|
|
|
|
#DEBHELPER#
|
|
|
|
exit 0
|