#!/bin/sh

GUI="UNX"
TEMP="/tmp"
PERL="/usr/bin/perl"
OOINSTBASE="@OOINSTBASE@"
OOUSERDIR="$HOME/.openoffice.org2"

export GUI TEMP PERL OOINSTBASE OOUSERDIR

test -d "$OOUSERDIR/user/basic" && cp -r "$OOINSTBASE/presets/basic/Standard" "$OOUSERDIR/user/basic"

cd "$OOINSTBASE/smoketest"
$PERL smoketest.pl
