summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-04-20 22:12:00 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-04-20 22:12:00 +0000
commit4c821ef313ab840541b189a3234e9da102f26222 (patch)
tree0e8f26a12b84a99cf45b0462b176f9e47662cfa3 /app-office
parentNew cronlayout. all the new releases are currently masked - please test. see ... (diff)
downloadgentoo-2-4c821ef313ab840541b189a3234e9da102f26222.tar.gz
gentoo-2-4c821ef313ab840541b189a3234e9da102f26222.tar.bz2
gentoo-2-4c821ef313ab840541b189a3234e9da102f26222.zip
small fix
Diffstat (limited to 'app-office')
-rw-r--r--app-office/openoffice-bin/openoffice-bin-641d.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/app-office/openoffice-bin/openoffice-bin-641d.ebuild b/app-office/openoffice-bin/openoffice-bin-641d.ebuild
index 9f30951a2c96..22a1119ece9f 100644
--- a/app-office/openoffice-bin/openoffice-bin-641d.ebuild
+++ b/app-office/openoffice-bin/openoffice-bin-641d.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author: Martin Schlemmer <azarah@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/openoffice-bin-641d.ebuild,v 1.1 2002/04/20 21:59:14 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/openoffice-bin-641d.ebuild,v 1.2 2002/04/20 22:12:00 azarah Exp $
# NOTE: There are two big issues that should be addressed.
#
@@ -73,6 +73,12 @@ src_install() {
rm -rf *
tar -jxpf ${FILESDIR}/${PV}/registry-${PV}.tbz2 || \
die "Could not unpack registry!"
+ # Fix paths
+ cd ${D}${LOC}/OpenOffice-${PV}/share/config/registry/instance/org/openoffice/Office
+ cp Common.xml Common.xml.orig
+ sed -e "s:/opt/OpenOffice.org641:${LOC}/OpenOffice-${PV}:g" \
+ Common.xml.orig >Common.xml
+ rm -f Common.xml.orig
# Generate ISO resource files.
cd ${D}${LOC}/OpenOffice-${PV}/program/resource