X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/89bd45165660298a8793b66f8712a7ba1cefd23d..3d9147ea2928a434b0995a5d38313865a6a630e3:/setup diff --git a/setup b/setup index da71b34..0d39cdb 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,6 +141,7 @@ 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 @@ -187,6 +188,7 @@ echo " done." scripts=" mdw-editor mdw-conf + mdw-build movemail-hack emerge-hack lesspipe.sh @@ -195,6 +197,7 @@ scripts=" hyperspec" [ "$xstuff" ] && scripts="$scripts xinitcmd + un-backslashify-selection xshutdown" echo "Installing scripts..." mkdir -p $HOME$sub/bin @@ -228,6 +231,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 +244,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 \