diff options
Diffstat (limited to 'www/w3/files/user-install.tmpl')
-rw-r--r-- | www/w3/files/user-install.tmpl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/www/w3/files/user-install.tmpl b/www/w3/files/user-install.tmpl new file mode 100644 index 000000000000..118f0b23da11 --- /dev/null +++ b/www/w3/files/user-install.tmpl @@ -0,0 +1,11 @@ +#!/bin/sh + +SAMPLEDIR=%SAMPLEDIR% + +if [ ! -f ${HOME}/.mosaic-hotlist-default ]; then + cp ${SAMPLEDIR}/dot.mosaic-hotlist-default ${HOME}/.mosaic-hotlist-default +fi + +mv ${HOME}/.emacs ${HOME}/.emacs.org.$$ +sed -e '/^;;* Emacs-w3 ;*$/,/^;; *Emacs-w3 end$/d' < ${HOME}/.emacs.org.$$ > ${HOME}/.emacs +cat ${SAMPLEDIR}/dot.emacs >> ${HOME}/.emacs |