#!/bin/bash

piece=$1
ooo_build_tag=$2

source $OO_TOOLSDIR/piece/sys-setup

# there is only the devel package

# remove the CVS dirs
find $DESTDIR$OO_SOLVERDIR -depth -type d -name CVS -exec rm -rf {} \;
# remove ugly executable rights
find $DESTDIR -type f -name "*.png" -exec chmod 644 {} \;

# move the stuff to /usr/share when enabled
test "$OOO_BUILD_NOARCH" = 'YES' && $OO_TOOLSDIR/piece/install-devel-helper $piece $ooo_build_tag
