From 5d13e0235126a1363b9d00b4418143e2e931ecbe Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 5 Dec 2009 14:32:16 +0000 Subject: Another instance where we call xclip git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@432 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede --- publish | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/publish b/publish index 45aeb25..d5b4876 100755 --- a/publish +++ b/publish @@ -177,7 +177,9 @@ while [ "$#" -gt 0 ]; do trail="/" uri="$base_http/$d_server_http_base/" fi - echo -n "$uri" | xclip + if which xclip >/dev/null 2>&1; then + echo -n "$uri" | xclip + fi fi echo "$uri" -- cgit v1.2.3