Hi Now I'm modifying your patch directly in this mail. It will not apply cleanly:
--- cron-apt-0.10.0.orig/src/cron-apt 2016-11-28 22:36:45.000000000 +0100 +++ cron-apt-0.10.0/src/cron-apt 2017-09-21 16:22:43.298993411 +0200 @@ -258,6 +258,10 @@ # only (only show the diff, not the output itself) # (else do nothing) DIFFONCHANGES=prepend +# Subject prefix. This will be inserted into the subject of e-mails +# sent out from CRON-APT and can for example be used to distinguish mails +# sent from a certain group of systems. +# Default is CRON-APT +SUBJPREFIX="" export DEBIAN_FRONTEND="noninteractive" export LANG="C" diff -urN cron-apt-0.10.0.orig/src/functions cron-apt-0.10.0/src/functions --- cron-apt-0.10.0.orig/src/functions 2016-11-28 22:36:19.000000000 +0100 +++ cron-apt-0.10.0/src/functions 2017-09-21 16:23:21.454997710 +0200 @@ -99,10 +99,11 @@ if [ -z "$HOSTNAME" ]; then HOSTNAME="$(uname -n)" fi + if [ -z "$SUBJPREFIX" ] ; then + SUBJPREFIX=CRON-APT + fi if [ -f "$ERROR" ] ; then - HDR=$(printf "$HDR\nSubject: CRON-APT error on $HOSTNAME [$CONFIG]") + HDR=$(printf "$HDR\nSubject: $SUBJPREFIX error on $HOSTNAME [$CONFIG]") else - HDR=$(printf "$HDR\nSubject: CRON-APT completed on $HOSTNAME [$CONFIG]") + HDR=$(printf "$HDR\nSubject: $SUBJPREFIX completed on $HOSTNAME [$CONFIG]") fi # Support for XHEADERS i=1 On 22 September 2017 at 09:48, Marc Haber <mh+debian-b...@zugschlus.de> wrote: > On Fri, Sep 22, 2017 at 09:25:45AM +0200, Ola Lundqvist wrote: >> I was thinking that the CRON-APT$SUBJSUPPL is replaced with a $SUBJECTPREFIX > > I didn't parse that, sorry. How about some code? > > Greetings > Marc > -- > ----------------------------------------------------------------------------- > Marc Haber | "I don't trust Computers. They | Mailadresse im Header > Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402 > Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421