1
0
Fork 0
mirror of git://slackware.nl/current.git synced 2025-01-15 15:41:54 +01:00
slackware-current/source/n/php/doinst.sh

9 lines
327 B
Bash
Raw Normal View History

if [ ! -r etc/httpd/mod_php.conf ]; then
cp -a etc/httpd/mod_php.conf.example etc/httpd/mod_php.conf
elif [ "`cat etc/httpd/mod_php.conf 2> /dev/null`" = "" ]; then
cp -a etc/httpd/mod_php.conf.example etc/httpd/mod_php.conf
fi
if [ ! -r etc/httpd/php.ini ]; then
cp -a etc/httpd/php.ini-production etc/httpd/php.ini
fi