diff options
author | Peter Hoeg <peter@hoeg.com> | 2022-08-22 10:47:01 +0800 |
---|---|---|
committer | Peter Hoeg <peter@hoeg.com> | 2022-08-25 10:50:36 +0800 |
commit | c33bbab891720583126ece1f7a31dd437dafc691 (patch) | |
tree | 6f985b68443727f293a6d7e92d7e1c30fecf82f5 /pkgs/applications/networking/msmtp | |
parent | 9e0027666b63a4635a31fd40c2304b3f8ecd55de (diff) |
msmtp: we always provide a path to msmtp
Diffstat (limited to 'pkgs/applications/networking/msmtp')
-rw-r--r-- | pkgs/applications/networking/msmtp/paths.patch | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/pkgs/applications/networking/msmtp/paths.patch b/pkgs/applications/networking/msmtp/paths.patch index 7114dc4eca15f..9298519e4da3a 100644 --- a/pkgs/applications/networking/msmtp/paths.patch +++ b/pkgs/applications/networking/msmtp/paths.patch @@ -1,8 +1,18 @@ -35cab741af069571cf4c55e0ce1ae96617d5778c nixify diff --git a/scripts/msmtpq/msmtpq b/scripts/msmtpq/msmtpq -index d8b4039..1ab89f8 100755 +index d8b4039..1f2a7b5 100755 --- a/scripts/msmtpq/msmtpq +++ b/scripts/msmtpq/msmtpq +@@ -60,8 +60,8 @@ err() { dsp '' "$@" '' ; exit 1 ; } + ## e.g. ( export MSMTP=/path/to/msmtp ) + if [ "$MSMTP" = "" ] ; then # If MSMTP is unset or empty... + MSMTP=msmtp +-elif [ ! -x "$MSMTP" ] ; then +- log -e 1 "msmtpq : can't find the msmtp executable [ $MSMTP ]" # if not found - complain ; quit ++# elif [ ! -x "$MSMTP" ] ; then ++# log -e 1 "msmtpq : can't find the msmtp executable [ $MSMTP ]" # if not found - complain ; quit + fi + ## + ## set the queue var to the location of the msmtp queue directory @@ -71,7 +71,7 @@ fi ## ( chmod 0700 msmtp.queue ) ## |