- if test ! "x`os`" = xdarwin; then
- link xinitrc ~/.xinitrc
- # Most display managers use ~/.xsession instead of ~/.xinitrc (which
- # is used by e.g. startx). Provide both links.
- link xinitrc ~/.xsession
- fi
- if test -f xinitrc.local; then
- link xinitrc.local ~/.xinitrc.local
- fi
- link xmodmaprc ~/.xmodmaprc
- link Xresources ~/.Xresources
- link XCompose ~/.XCompose
-
- link bin/xlockscreen ~/.xlockscreen
-fi
-
-if installed xpdf; then
- link xpdfrc ~/.xpdfrc
-fi
-if installed zathura; then
- mkdir -p ~/.config/zathura
- link zathurarc ~/.config/zathura/zathurarc
-fi
-
-if installed feh; then
- mkdir -p ~/.config
- link feh ~/.config/feh
- # Older feh versions only support theme options and configure them through
- # ~/.fehrc.
- link feh/themes ~/.fehrc
-fi
+ printf 'running setup.sh in "%s"\n' "$project"
+ ( cd "$project" && ./setup.sh >/dev/null ) || {
+ printf '%s/setup.sh failed\n' "$project" >&2
+ exit 1
+ }
+done