Blame Identity/Webenv/Themes/Default/Puntal/install.sh

f2e824
#!/bin/bash
f2e824
# Puntal Theme installation script.
f2e824
f2e824
PUNTAL_PATH=/var/www/html/puntal
f2e824
f2e824
EXPORTDIR=tmp_puntal
f2e824
f2e824
SVNREPODIR=https://projects.centos.org/svn/artwork/trunk/Extras/Puntal
f2e824
f2e824
if [ "$@" ]; then
f2e824
f2e824
        for i in "$@";do
f2e824
        case $i in
f2e824
           --subversion | -s    )
f2e824
                svn export $SVNREPODIR $EXPORTDIR --force --quiet
f2e824
                /bin/cp -r $EXPORTDIR/themes/punbb/* $PUNTAL_PATH/themes/punbb/;
f2e824
                /bin/rm -r $EXPORTDIR;;
f2e824
        esac
f2e824
        done
f2e824
else
f2e824
f2e824
	/bin/cp -r themes/punbb/* $PUNTAL_PATH/themes/punbb/;
f2e824
f2e824
fi 
f2e824