tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
msmtp: we always provide a path to msmtp
Peter Hoeg
3 years ago
c33bbab8
9e002766
+12
-2
1 changed file
expand all
collapse all
unified
split
pkgs
applications
networking
msmtp
paths.patch
+12
-2
pkgs/applications/networking/msmtp/paths.patch
···
1
1
-
35cab741af069571cf4c55e0ce1ae96617d5778c nixify
2
1
diff --git a/scripts/msmtpq/msmtpq b/scripts/msmtpq/msmtpq
3
3
-
index d8b4039..1ab89f8 100755
2
2
+
index d8b4039..1f2a7b5 100755
4
3
--- a/scripts/msmtpq/msmtpq
5
4
+++ b/scripts/msmtpq/msmtpq
5
5
+
@@ -60,8 +60,8 @@ err() { dsp '' "$@" '' ; exit 1 ; }
6
6
+
## e.g. ( export MSMTP=/path/to/msmtp )
7
7
+
if [ "$MSMTP" = "" ] ; then # If MSMTP is unset or empty...
8
8
+
MSMTP=msmtp
9
9
+
-elif [ ! -x "$MSMTP" ] ; then
10
10
+
- log -e 1 "msmtpq : can't find the msmtp executable [ $MSMTP ]" # if not found - complain ; quit
11
11
+
+# elif [ ! -x "$MSMTP" ] ; then
12
12
+
+# log -e 1 "msmtpq : can't find the msmtp executable [ $MSMTP ]" # if not found - complain ; quit
13
13
+
fi
14
14
+
##
15
15
+
## set the queue var to the location of the msmtp queue directory
6
16
@@ -71,7 +71,7 @@ fi
7
17
## ( chmod 0700 msmtp.queue )
8
18
##