mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
2f2010f63c
msmtpq patches had to be recreated: - removal of the executable check and addition of systemd logging were kept and split into two patches. - renaming of queue and log files was removed as the upstream script had renamed these to add the `MSMTPQ_` prefix (noted as a backwards incompatible change).
14 lines
637 B
Diff
14 lines
637 B
Diff
diff --git a/scripts/msmtpq/msmtpq b/scripts/msmtpq/msmtpq
|
|
index bcb384e..9622e47 100755
|
|
--- a/scripts/msmtpq/msmtpq
|
|
+++ b/scripts/msmtpq/msmtpq
|
|
@@ -60,8 +60,6 @@ err() { dsp '' "$@" '' ; exit 1 ; }
|
|
## export the location of the msmtp executable before running this script (no quotes !!)
|
|
## e.g. ( export MSMTP=/path/to/msmtp )
|
|
MSMTP="${MSMTP:-msmtp}"
|
|
-"$MSMTP" --version >/dev/null 2>&1 || \
|
|
- log_later -e 1 "msmtpq : can't run the msmtp executable [ $MSMTP ]" # if not found - complain ; quit
|
|
##
|
|
## set the queue var to the location of the msmtp queue directory
|
|
## if the queue dir doesn't yet exist, create it (0700)
|