Blame Identity/Webenv/Puntal/install.sh

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