diff options
author | Hoang Xuan Phu <phuhimself@phunehehe.net> | 2015-12-31 17:02:45 +0800 |
---|---|---|
committer | Hoang Xuan Phu <phuhimself@phunehehe.net> | 2015-12-31 17:03:48 +0800 |
commit | ff49b7f91e487cf61851372e0d41f7681322072f (patch) | |
tree | 2e05a55dc78a748973f8ca98804fb7a1b2abc6f0 /pkgs/servers/mail/postfix/postfix-script-shell.patch | |
parent | 3b065f0215615566c9ae4de91820892d191f9588 (diff) | |
download | nixpkgs-ff49b7f91e487cf61851372e0d41f7681322072f.tar nixpkgs-ff49b7f91e487cf61851372e0d41f7681322072f.tar.gz nixpkgs-ff49b7f91e487cf61851372e0d41f7681322072f.tar.bz2 nixpkgs-ff49b7f91e487cf61851372e0d41f7681322072f.tar.lz nixpkgs-ff49b7f91e487cf61851372e0d41f7681322072f.tar.xz nixpkgs-ff49b7f91e487cf61851372e0d41f7681322072f.tar.zst nixpkgs-ff49b7f91e487cf61851372e0d41f7681322072f.zip |
postfix: patch to stop hard coding SHELL
Diffstat (limited to 'pkgs/servers/mail/postfix/postfix-script-shell.patch')
-rw-r--r-- | pkgs/servers/mail/postfix/postfix-script-shell.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/servers/mail/postfix/postfix-script-shell.patch b/pkgs/servers/mail/postfix/postfix-script-shell.patch new file mode 100644 index 00000000000..4f5d2f61111 --- /dev/null +++ b/pkgs/servers/mail/postfix/postfix-script-shell.patch @@ -0,0 +1,21 @@ +diff --git a/conf/postfix-script b/conf/postfix-script +index 19088a6..04fae23 100755 +--- a/conf/postfix-script ++++ b/conf/postfix-script +@@ -43,7 +43,6 @@ FATAL="$LOGGER -p fatal" + PANIC="$LOGGER -p panic" + + umask 022 +-SHELL=/bin/sh + + # + # Can't do much without these in place. +@@ -229,7 +228,7 @@ status) + check-fatal) + # This command is NOT part of the public interface. + +- $SHELL $daemon_directory/post-install create-missing || { ++ $daemon_directory/post-install create-missing || { + $FATAL unable to create missing queue directories + exit 1 + } |