1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/www/w3-4/files/user-install.tmpl
Clive Lin 7ee15bfa25 Update to w3-4.0pre.46.
Timed out from: MAINTAINER
Reviewed by: Ilya Martynov <m_ilya@agava.com>
Repo-copied by: asami
2001-03-03 03:05:46 +00:00

15 lines
382 B
Bash

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