Blame Identity/Models/Html/Puntal/install.sh

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