chiark / gitweb /
setup: Install xrun script, needed by Enlightenment config.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 17 Mar 2006 11:51:17 +0000 (11:51 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 17 Mar 2006 11:51:17 +0000 (11:51 +0000)
setup

diff --git a/setup b/setup
index 71c114e9650a90976116d56f952380f19b00bd18..1dbbcf0aa6d0db1cfc6b6e6d79917772183ff8c2 100755 (executable)
--- a/setup
+++ b/setup
@@ -67,7 +67,11 @@ fi
 ### Install necessary things
 echo "Installing useful scripts..."
 
 ### Install necessary things
 echo "Installing useful scripts..."
 
-for script in lesspipe.sh start-ssh-agent svnwrap; do
+scripts="
+  lesspipe.sh start-ssh-agent svnwrap"
+[ "$xstuff" ] && scripts="$scripts
+  xrun"
+for script in $scripts; do
   $echon "  $script:$echoc"
   found=
   for p in /bin /usr/bin /usr/local/bin $(echo $PATH | tr : ' '); do
   $echon "  $script:$echoc"
   found=
   for p in /bin /usr/bin /usr/local/bin $(echo $PATH | tr : ' '); do