diff --git a/entrypoint.sh b/entrypoint.sh index b3613b1..bf419b6 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -6,8 +6,10 @@ function write_file() { while read line; do first_char=${line:0:1} - - if [[ $first_char != "#" ]]; then + first_vers=$(line:0:7) + if [[ $first_vers == "Version" ]]; then + line="# This is the sample config file for MailAutoConf "$line + elif [[ $first_char != "#" ]]; then line="#"$line fi echo $line >> $2 diff --git a/src/default-config/config.default.yaml b/src/default-config/config.default.yaml index 870d458..32b6cdf 100644 --- a/src/default-config/config.default.yaml +++ b/src/default-config/config.default.yaml @@ -1,5 +1,5 @@ --- -Version : "0.1.1" +Version : "0.1.2" # Sample config.yaml file. # Copy this file to "config/config.yaml" and adjust the # settings to your requirements