public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in www-apps/rt/files: reconfig
@ 2013-10-12 11:55 Peter Volkov (pva)
  0 siblings, 0 replies; only message in thread
From: Peter Volkov (pva) @ 2013-10-12 11:55 UTC (permalink / raw
  To: gentoo-commits

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 \





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-10-12 11:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-12 11:55 [gentoo-commits] gentoo-x86 commit in www-apps/rt/files: reconfig Peter Volkov (pva)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox