summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/generate-mirror-mail.pl5
-rw-r--r--settings.conf.example1
2 files changed, 4 insertions, 2 deletions
diff --git a/bin/generate-mirror-mail.pl b/bin/generate-mirror-mail.pl
index 037669e..4b31eb6 100755
--- a/bin/generate-mirror-mail.pl
+++ b/bin/generate-mirror-mail.pl
@@ -45,7 +45,7 @@ investigate?
{$out_of_sync{mirror_urls}}
Thanks,
-Florian
+{$mail_from_name}
',
},
'connection-failed' => {
@@ -59,7 +59,7 @@ please check what\'s going on?
{$connection_failed{mirror_urls}}
Thanks,
-Florian
+{$mail_from_name}
',
},
);
@@ -177,6 +177,7 @@ while (<STDIN>) {
},
mirror_name => $mirror_name,
mirror_url => $url,
+ mail_from_name => $Config->{misc}->{name} // die "misc.name not set in config",
);
my @protocols = map {${$_}{protocol}} @connection_failed;
diff --git a/settings.conf.example b/settings.conf.example
index e1f4ab3..d24d01d 100644
--- a/settings.conf.example
+++ b/settings.conf.example
@@ -4,3 +4,4 @@ password=bar
[misc]
email_from = "foo@bar.com"
+name = Foobar