]> git.madduck.net Git - etc/mutt.git/blobdiff - .lbdbrc

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

fix up sidebar format for 1.9
[etc/mutt.git] / .lbdbrc
diff --git a/.lbdbrc b/.lbdbrc
index 99a6b5b836c2f130aa7555eea4d56f06b713acc5..6420898497ab0bb336d208fec8023b030c397e13 100644 (file)
--- 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 \rdone >| "$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