X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/a1293ade723b89f40cff99fc43130479bbc8ca22..f4e43257fd5b724d48f6451ab6b88a00b379b606:/setup diff --git a/setup b/setup index 183ea64..93ff48e 100755 --- a/setup +++ b/setup @@ -129,8 +129,8 @@ fi ## Symlink the various dotfiles into place dotfiles=" bash_profile bash_logout bashrc inputrc bash_completion - emacs emacs-calc vm - vimrc mg + emacs emacs-calc vm gnus.el + vimrc mg zile mailrc signature cgrc tigrc gdbinit @@ -141,17 +141,16 @@ dotfiles=" lisp-init.lisp:.sbclrc lisp-init.lisp:.clisprc.lisp lisp-init.lisp:.eclrc + swank.lisp dircolors colordiffrc screenrc cvsrc indent.pro" [ "$xstuff" ] && dotfiles="$dotfiles xinitrc xsession Xdefaults vncrc vncsession + fonts.conf putty-defaults:.putty/sessions/Default%20Settings eterm-theme.cfg:.Eterm/themes/Eterm/theme.cfg e-keybindings.cfg:.enlightenment/keybindings.cfg evnc-keybindings.cfg:.enlightenment-vnc/keybindings.cfg - e16-bindings:.e16/bindings.cfg - e16-config:.e16/e_config--1.0.cfg - jue-peek.jpg:.enlightenment/backgrounds/jue-peek.jpg - jue-peek.jpg:.e16/backgrounds/jue-peek.jpg" + e16-bindings:.e16/bindings.cfg" echo "Installing dotfiles..." for d in $dotfiles; do target=.$d @@ -167,6 +166,23 @@ for d in $dotfiles; do done echo " all done." +## Symlink backgrounds. +backgrounds="jue-peek.jpg medusa.jpg rayne.jpg" +if [ "$xstuff" ]; then + echo "Installing backgrounds..." + for b in $backgrounds; do + for e in enlightenment e16; do + dir=$HOME$sub/.$e/backgrounds + t=$dir/$b + mkdir -p $dir + ln -s $here/$b $t.new + mv $t.new $t + done + echo " $b" + done + echo " all done." +fi + ###-------------------------------------------------------------------------- ### Process the Git configuration. @@ -186,7 +202,9 @@ echo " done." scripts=" mdw-editor + mdw-pager mdw-conf + mdw-build movemail-hack emerge-hack lesspipe.sh @@ -194,7 +212,8 @@ scripts=" svnwrap hyperspec" [ "$xstuff" ] && scripts="$scripts - xrun + xinitcmd + un-backslashify-selection xshutdown" echo "Installing scripts..." mkdir -p $HOME$sub/bin @@ -228,6 +247,7 @@ echo "Installing Emacs packages..." emacspkg=" make-regexp ew-hols + mdw-gnus-patch git git-blame vc-git stgit quilt" for elib in $emacspkg; do @@ -240,8 +260,12 @@ for elib in $emacspkg; do (error 1))))'; then echo " already installed." else - $echon " downloading$echoc" - $GETURL $HOME$sub/lib/emacs/$elib.el $REPO/$elib.el + if [ -f $elib.el ]; then + cp $elib.el $HOME$sub/lib/emacs/$elib.el + else + $echon " downloading$echoc" + $GETURL $HOME$sub/lib/emacs/$elib.el $REPO/$elib.el + fi $echon " compiling$echoc" (cd $HOME$sub/lib/emacs; $emacs >/dev/null 2>&1 --no-site-file --batch \