X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/b5bf344506d856bb6d35931354fbb211de847022..2c5e5338197eba2b79ba35e838f74905b0e99860:/setup?ds=sidebyside diff --git a/setup b/setup index b1dcf58..50bb776 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 @@ -187,6 +187,7 @@ echo " done." scripts=" mdw-editor + mdw-pager mdw-conf mdw-build movemail-hack @@ -197,6 +198,7 @@ scripts=" hyperspec" [ "$xstuff" ] && scripts="$scripts xinitcmd + un-backslashify-selection xshutdown" echo "Installing scripts..." mkdir -p $HOME$sub/bin @@ -230,6 +232,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 +245,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 \