From 0291ce2ca538d91deac8482991093d41200cb000 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Tue, 3 Sep 2013 03:30:56 +0200 Subject: [PATCH] setup.sh: Only link abook and lbdb if installed. --- setup.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index 6adcb7c..1d807bc 100755 --- 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 -- 2.43.2