]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
setup.sh: Only link configuration files if lftp is installed.
authorSimon Ruderich <simon@ruderich.org>
Sun, 24 Mar 2013 14:29:02 +0000 (15:29 +0100)
committerSimon Ruderich <simon@ruderich.org>
Sun, 24 Mar 2013 14:29:02 +0000 (15:29 +0100)
setup.sh

index 354a8c3b17eac7a1649357f006e9fe6d748706b4..3a55539c2b271e014b8685a4a05bc283dea84447 100755 (executable)
--- a/setup.sh
+++ b/setup.sh
@@ -22,4 +22,6 @@ set -e
 
 . ../lib.sh
 
-link '' ~/.lftp
+if installed lftp; then
+    link '' ~/.lftp
+fi