#!/usr/bin/env bash
#
# churchyard's xfce po downloader
#
# this is free software

if -z "$1" ]; then
        echo "Usage: xfce-po-get package [goodies]"
        exit 1
fi

if -z "$2" ]; then
        typ="xfce"
else
        typ=$2
fi

if [ ! -d $HOME/Install/xfce-po/$1 ]; then
        mkdir $HOME/Install/xfce-po/$1
fi

wget -O $HOME/Install/xfce-po/$1/cs.po -r --no-verbose http://svn.xfce.org/svn/$typ/$1/trunk/po/cs.po