1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/www/w3-4/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