summaryrefslogtreecommitdiffstats
path: root/bin-editors/openoffice3-bin-lang/PRE_BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'bin-editors/openoffice3-bin-lang/PRE_BUILD')
-rwxr-xr-xbin-editors/openoffice3-bin-lang/PRE_BUILD5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin-editors/openoffice3-bin-lang/PRE_BUILD b/bin-editors/openoffice3-bin-lang/PRE_BUILD
index 34bcf8b..7c259bc 100755
--- a/bin-editors/openoffice3-bin-lang/PRE_BUILD
+++ b/bin-editors/openoffice3-bin-lang/PRE_BUILD
@@ -17,9 +17,8 @@ for SS in $OOO3_LANG; do
for FILE in *.${OO_ARCH}.rpm
do
FILE="${FILE%.$OO_ARCH.rpm}" &&
- rpmunpack $FILE.${OO_ARCH}.rpm &&
- gzip -d $FILE.cpio.gz &&
- cpio -idm < $FILE.cpio 2> ${INSTALL_ROOT}/dev/null
+ rpm2tar $FILE.${OO_ARCH}.rpm &&
+ tar xvf $FILE.${OO_ARCH}.tar
done &&
cd $SOURCE_DIRECTORY &&
i=$[$i+1]