mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +00:00
7ee15bfa25
Timed out from: MAINTAINER Reviewed by: Ilya Martynov <m_ilya@agava.com> Repo-copied by: asami
15 lines
382 B
Bash
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
|