* [gentoo-commits] gentoo-x86 commit in www-apps/cvsweb/files: postinstall-en.txt reconfig
@ 2010-03-05 18:11 Ulrich Mueller (ulm)
0 siblings, 0 replies; only message in thread
From: Ulrich Mueller (ulm) @ 2010-03-05 18:11 UTC (permalink / raw
To: gentoo-commits
ulm 10/03/05 18:11:27
Added: postinstall-en.txt reconfig
Log:
Move package from dev-util to www-apps, bug 56967.
(Portage version: 2.2_rc63/cvs/Linux i686, RepoMan options: --force)
Revision Changes Path
1.1 www-apps/cvsweb/files/postinstall-en.txt
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/cvsweb/files/postinstall-en.txt?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/cvsweb/files/postinstall-en.txt?rev=1.1&content-type=text/plain
Index: postinstall-en.txt
===================================================================
Now edit ${VHOST_ROOT}/cvsweb.conf
1.1 www-apps/cvsweb/files/reconfig
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/cvsweb/files/reconfig?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/cvsweb/files/reconfig?rev=1.1&content-type=text/plain
Index: reconfig
===================================================================
#!/bin/bash
die() {
echo "#####"
echo $1
echo "#####"
exit 1
}
if [ $1 = "install" ]; then
sed "s|/usr/local/etc/cvsweb/cvsweb.conf|${VHOST_ROOT}/cvsweb.conf|g
s|/usr/local/etc/cvsweb|${VHOST_ROOT}|g
s|/css/cvsweb.css|/cvsweb.css|g
s|/usr/local/etc/apache/mime.types|/etc/mime.types|g" -i ${VHOST_ROOT}/cgi-bin/cvsweb.cgi ${VHOST_ROOT}/cvsweb.conf || die "sed failed"
fi
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-03-05 18:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-05 18:11 [gentoo-commits] gentoo-x86 commit in www-apps/cvsweb/files: postinstall-en.txt reconfig Ulrich Mueller (ulm)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox