X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/882d8531457c359c4811a1375a9692975110153c..1b81aaca0b352ddf908653b88f5c2e8b722b2770:/.lbdbrc?ds=sidebyside diff --git a/.lbdbrc b/.lbdbrc index 99a6b5b..6420898 100644 --- a/.lbdbrc +++ b/.lbdbrc @@ -1,12 +1,13 @@ -CONTACTS_DIR=$HOME/contacts +METHODS=m_gpg : ${TMPDIR:=/tmp} +CONTACTS_DIR=$HOME/contacts if [ -d $CONTACTS_DIR ]; then METHODS="$METHODS m_vcf" VCF_FILES="$TMPDIR/lbdbq.vcf" VCF_TEMP="$tmpdir/contacts.vcf" - for i in $CONTACTS_DIR/*; do case "${i##*/}" in ICE*) continue;; esac; cat "$i"; echo ; done >| "$VCF_TEMP" + for i in $CONTACTS_DIR/*; do case "${i##*/}" in ICE*) continue;; esac; cat "$i"; done >| "$VCF_TEMP" if ! cmp --quiet "$VCF_FILES" "$VCF_TEMP"; then mv "$VCF_TEMP" "$VCF_FILES" fi