public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Peter Volkov (pva)" <pva@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in www-apps/rt/files: reconfig
Date: Sat, 12 Oct 2013 11:55:01 +0000 (UTC)	[thread overview]
Message-ID: <20131012115501.D75172004E@flycatcher.gentoo.org> (raw)

pva         13/10/12 11:55:01

  Modified:             reconfig
  Log:
  Generated.pm should point on webapp-config installed directory, bug #414829, thank Christoph Erdle for report and Eric Martin for this fix.
  
  (Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key F1989B07)

Revision  Changes    Path
1.6                  www-apps/rt/files/reconfig

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/rt/files/reconfig?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/rt/files/reconfig?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/rt/files/reconfig?r1=1.5&r2=1.6

Index: reconfig
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-apps/rt/files/reconfig,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- reconfig	3 Apr 2008 09:57:12 -0000	1.5
+++ reconfig	12 Oct 2013 11:55:01 -0000	1.6
@@ -12,7 +12,12 @@
 	# fix location
 	cd ${VHOST_ROOT}/${PF}
 	sed -e "s|${MY_HOSTROOTDIR}/${PF}|${VHOST_ROOT}/${PF}|g
-		s|${MY_HTDOCSDIR}|${MY_INSTALLDIR}|g" -i bin/* lib/RT.pm sbin/* etc/RT_Config.pm || die
+               s|${MY_HTDOCSDIR}|${MY_INSTALLDIR}|g" -i bin/* etc/RT_Config.pm lib/RT.pm sbin/* || die
+       
+       if [[ -e ${VHOST_ROOT}/${PF}/lib/RT/Generated.pm ]]; then
+               sed -e "s|${MY_HOSTROOTDIR}/${PF}|${VHOST_ROOT}/${PF}|g
+                       s|${MY_HTDOCSDIR}|${MY_INSTALLDIR}|g" -i lib/RT/Generated.pm || die
+       fi
 
 	if [[ -e ${VHOST_ROOT}/${PF}/etc/rt_apache2.conf ]]; then
 		sed -i \





                 reply	other threads:[~2013-10-12 11:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131012115501.D75172004E@flycatcher.gentoo.org \
    --to=pva@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox