dot

packages and services management
Log | Files | Refs | README

commit 11a6c136bc4e75bb8289f55062d7c3be006f7412
parent 03f432dea35d16391d90c4b60a68684afdbe704d
Author: Josuah Demangeon <mail@josuah.net>
Date:   Thu,  6 Dec 2018 22:15:57 +0100

Merge branch 'master' of git.josuah.net:dot

Diffstat:
Mbin/mail-gpg-decrypt | 2+-
Mbin/mail-reply | 11++---------
Mbin/mail-write | 6+++---
As6/acme-client/x/dependencies | 1+
4 files changed, 7 insertions(+), 13 deletions(-)

diff --git a/bin/mail-gpg-decrypt b/bin/mail-gpg-decrypt @@ -5,7 +5,7 @@ backtick -n x { mktemp } importas tmp x ifte { if { rm -rf ${tmp} } exit 64 } - { if { rm -rf ${tmp} } exit 0 } + { if { rm -rf ${tmp} } exit 2 } importas type PIPE_CONTENTTYPE diff --git a/bin/mail-reply b/bin/mail-reply @@ -26,15 +26,8 @@ backtick -n Cc { backtick -n From { mhdr -h local-mailbox ${MBLAZE}/profile } backtick -n Subject { mscan -f %S ${mail} } export Body ${mail} - -backtick -n x { mail-write } -importas draft x - -if { - redirfd -c 1 ${draft} - if { echo ${From}: } - pipeline { mshow -R ${mail} } - sed "s/^/> /; s/ *$//" + pipeline { mshow ${mail} } + sed "s/^/> /; s/ *$//; s/> >/>>/g" } mail-draft ${draft} diff --git a/bin/mail-write b/bin/mail-write @@ -13,13 +13,13 @@ backtick -n x { pipeline { true } mdeliver -v -XD ${outbox} } importas draft x backtick -n x { mdate } -importas -n Date x +importas Date x backtick -n x { mgenmid } -importas -n Message-Id x +importas Message-Id x backtick -n x { mhdr -h local-mailbox ${MBLAZE}/profile } -importas -n From x +importas From x multisubstitute { importas -n Bcc Bcc diff --git a/s6/acme-client/x/dependencies b/s6/acme-client/x/dependencies @@ -0,0 +1 @@ +httpfile