From 2356c71cf1d38a2f09b76d10e6a0ba40dcf9ce11 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 26 Feb 2009 13:26:45 -0600 Subject: [PATCH] Only create links if applications are installed. --- setup.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index 5dfde4c..e928a80 100755 --- 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 -- 2.45.2