new patch
tested with (must be declared with single quote)
$CUSTOM_SUBJECT='[apticron] $SYSTEM: $NUM_PACKAGES package update(s)'
diff --git a/apticron b/apticron
index fdb9e5a..f394fb3 100755
--- a/apticron
+++ b/apticron
@@ -94,12 +94,6 @@ DISTRIB_ID=Debian# Default to Debian
# Source the
if we want to put $NUM_PACKAGES in CURRENT_SUBJECT, may be we can change:
MAILX_SUBJECT=$CUSTOM_SUBJECT by
MAILX_SUBJECT=$(eval 'echo $CUSTOM_SUBJECT')
and enable users to create custom subject like:
CUSTOM_SUBJECT=[apticron] $SYSTEM: $NUM_PACKAGES package update(s)
sylvain
smime.p7s
2 matches
Mail list logo