X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/882d8531457c359c4811a1375a9692975110153c..7fefca45e0bb652bece77c8df53dc2dd684aa47a:/.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