docker-images/pluie/alpine-apache-fpm/pre-init.d/30-tz.sh
2017-07-05 21:20:53 +02:00

5 lines
137 B
Bash

#!/bin/bash
tmpsed="/etc/php5/php.ini"
sed -i "s|;*date.timezone =.*|date.timezone = ${TZ}|i" $tmpsed
cat $tmpsed | grep "date.timezone"