]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - setup.sh
Only create links if applications are installed.
[config/dotfiles.git] / setup.sh
index 5dfde4c214565f63e90f891ecf7ed72e85690360..e928a804a3b1036714538c2f06f29d23b76450ce 100755 (executable)
--- a/setup.sh
+++ b/setup.sh
@@ -4,5 +4,9 @@
 . ../lib.sh
 
 # Link setup.
-link stumpwmrc ~/.stumpwmrc
-link xinitrc ~/.xinitrc
+if installed stumpwm; then
+    link stumpwmrc ~/.stumpwmrc
+fi
+if installed X; then
+    link xinitrc ~/.xinitrc
+fi