X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/882d8531457c359c4811a1375a9692975110153c..cb64434a89a3f9fc5ab292f81964bf0e0d92aad0:/.lbdbrc?ds=inline 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