mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
7ca69fdf61
files can be shared between this port and japanese/w3. Note this is a "blind" commit; it is too much trouble to test an update with this many added and deleted files. I'll test it later. PR: 3788 Submitted by: <kiri@kiri.toba-cmt.ac.jp>
12 lines
341 B
Bash
12 lines
341 B
Bash
#!/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
|