mirror of
https://github.com/bokysan/docker-postfix.git
synced 2024-09-20 06:46:10 +08:00
Fix #188: Create file /etc/default/locale
File is created "manually" to keep cron happy and prevent it from spewing errors into the log. Hopefully this will be enough.
This commit is contained in:
parent
95119aa607
commit
c50f864ed8
|
@ -36,4 +36,11 @@ else
|
|||
do_ubuntu
|
||||
fi
|
||||
|
||||
# Some services (eg. cron) will complain if this file does not exists, even if it's empty
|
||||
# The file is usually generated by update-locales, which is ran automatically when you do
|
||||
# `apt-get install locales`. So instead of adding another package, which at the moment we
|
||||
# do not need, we just create a simple "empty" file instead and hope to keep cron happy.
|
||||
mkdir -p /etc/default/
|
||||
echo "# File generated by postfix-install.sh" > /etc/default/locale
|
||||
|
||||
cp -r /etc/postfix /etc/postfix.template
|
||||
|
|
Loading…
Reference in a new issue