chiark / gitweb /
bin/start-ssh-agent: Style tweaking of `case' statements.
[profile] / setup
diff --git a/setup b/setup
index 057a1bab2691ffbddfbb4e37dd8416816ac1319e..cb59354e513bff4464b73d11249dea5dff034478 100755 (executable)
--- a/setup
+++ b/setup
@@ -186,7 +186,7 @@ cppfiles=""
   Xdefaults"
 echo "Hacking files with C preprocessor..."
 defs="-DHOME=$HOME -DPROFILE=$here"
-defs="$defs -DEMACSWD=$(mdw-conf emacs-width 77)"
+defs="$defs -DEMACSWD=$(bin/mdw-conf emacs-width 77)"
 for c in $cppfiles; do
   target=.$c
   case $c in
@@ -229,17 +229,7 @@ done
 echo "  all done."
 
 ## Symlink backgrounds.
-backgrounds="
-  bsg-supper.jpg
-  harley-quinn.jpg
-  hypatia.jpg
-  jue-peek.jpg
-  lilith.jpg
-  lovelace.jpg
-  medusa.jpg
-  noodly.jpg
-  rayne.jpg
-"
+backgrounds=$(cd bg && echo *)
 if [ "$xstuff" ]; then
   echo "Installing backgrounds..."
   for b in $backgrounds; do