casjay 5eb3ff1598
🗃️ Committing everything that changed 🗃️
applications/
configs/
lists/
wwwroot/
2023-08-22 17:53:03 -04:00

6 lines
256 B
Bash

mv -f "/etc/$PHP_VERSION" "/etc/php/"
cp -Rf "/usr/local/share/template-files/config/php/." "/etc/php/"
ln -sf "/etc/php" "/etc/$PHP_VERSION"
[ -e "/etc/php" ] && rm -Rf "/etc/php" || true
[ -z "${PHP_VERSION}" ] || ln -sf "/etc/${PHP_VERSION}" "/etc/php"