Spotter-VM/lxc-apps/kanboard/install/update-conf.sh

8 lines
174 B
Bash

#!/bin/sh
# Volumes
KANBOARD_CONF="${VOLUMES_DIR}/kanboard/kanboard_conf"
# Replacements
sed -i "s|\(^define('MAIL_FROM', \).*|\1'${EMAIL}');|" ${KANBOARD_CONF}/config.php