1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-08 23:06:56 +00:00
freebsd-ports/www/w3/files/user-install.tmpl

12 lines
341 B
Cheetah
Raw Normal View History

#!/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