#!/bin/bash

piece=$1
ooo_build_tag=$2

source $OO_TOOLSDIR/piece/sys-setup

# install all the prebuilt pieces into single package per lang

# sort by lang
$OO_TOOLSDIR/piece/sort-l10n $piece $ooo_build_tag $OO_SOLVERDIR/noarch

# move to /usr/share if wanted
test "$OOO_BUILD_NOARCH" = 'YES' && $OO_TOOLSDIR/piece/install-l10n-helper $piece $ooo_build_tag $OO_SOLVERDIR/noarch files-$piece-*.txt $OO_SOLVERDIR/noarch

