mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
12 lines
341 B
Cheetah
12 lines
341 B
Cheetah
|
#!/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
|