]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
setup.sh: Only link abook and lbdb if installed.
authorSimon Ruderich <simon@ruderich.org>
Tue, 3 Sep 2013 01:30:56 +0000 (03:30 +0200)
committerSimon Ruderich <simon@ruderich.org>
Tue, 3 Sep 2013 01:30:56 +0000 (03:30 +0200)
setup.sh

index 6adcb7ce6ed8d1860add5f52692f4c9e9bd91d6b..1d807bcafd0d61d5d393a8de75be3e8734791b5a 100755 (executable)
--- a/setup.sh
+++ b/setup.sh
@@ -31,8 +31,12 @@ if mutt -v | grep sidebar >/dev/null 2>&1; then
 fi
 
 # Link setup.
-link abook ~/.abook
+if installed abook; then
+    link abook ~/.abook
+fi
 link gnupg ~/.gnupg
-link lbdbrc ~/.lbdbrc
+if installed lbdb; then
+    link lbdbrc ~/.lbdbrc
+fi
 link mailcap ~/.mailcap
 link mutt ~/.mutt