php/docker/usr/local/bin/project_setup
Aleksander Cynarski 9067f7dcc1
All checks were successful
continuous-integration/drone/push Build is passing
projet_setup
2021-10-17 23:36:54 +02:00

10 lines
259 B
Bash
Executable File

#!/bin/sh
if [ -f /var/www/override.ini ]; then
if [ -f /usr/local/etc/php/conf.d/02-project-override.ini ]; then
rm /usr/local/etc/php/conf.d/02-project-override.ini
fi
ln -s /var/www/override.ini /usr/local/etc/php/conf.d/02-project-override.ini
fi