diff options
Diffstat (limited to 'scripts/certs/cert-import')
-rwxr-xr-x | scripts/certs/cert-import | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/certs/cert-import b/scripts/certs/cert-import index 7e23d32..062d3d3 100755 --- a/scripts/certs/cert-import +++ b/scripts/certs/cert-import @@ -14,6 +14,7 @@ cert_import_homebundle() { [ "$1" != "1" ] && return echo "Adding to homebundle" >&2 mkdir -p "$(dirname ${HOMEBUNDLE})" + cp ${HOMEBUNDLE}{,$(date '+%y%m%d%H%M%s')} cat >>${HOMEBUNDLE} } @@ -21,6 +22,7 @@ cert_import_mutt() { [ "$1" != "1" ] && return echo "Adding to mutt" >&2 mkdir -p "$(dirname ${MUTT_CERTIFICATES})" + cp ${MUTT_CERTIFICATES}{,$(date '+%y%m%d%H%M%s')} cat >>${MUTT_CERTIFICATES} } |