#!/bin/sh SAMPLEDIR=%SAMPLEDIR% if [ ! -f ${HOME}/.mosaic-hotlist-default ]; then cp ${SAMPLEDIR}/dot.mosaic-hotlist-default ${HOME}/.mosaic-hotlist-default fi if [ -f ${HOME}/.emacs ]; then mv ${HOME}/.emacs ${HOME}/.emacs.org.$$ ; sed -e '/^;;* Emacs-w3 ;*$/,/^;; *Emacs-w3 end$/d' < ${HOME}/.emacs.org.$$ > ${HOME}/.emacs ; fi cat ${SAMPLEDIR}/dot.emacs >> ${HOME}/.emacs