X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/b5bf344506d856bb6d35931354fbb211de847022..dfd10975ec8a6e231e1385309189b72688b25ed5:/setup diff --git a/setup b/setup index b1dcf58..79a6f34 100755 --- a/setup +++ b/setup @@ -129,7 +129,7 @@ fi ## Symlink the various dotfiles into place dotfiles=" bash_profile bash_logout bashrc inputrc bash_completion - emacs emacs-calc vm + emacs emacs-calc vm gnus.el vimrc mg mailrc signature cgrc tigrc @@ -230,6 +230,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 @@ -242,8 +243,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 \