Blame Identity/Models/Html/Mantis/1.1.2-1.fc9-violet/install.sh

d6e8d8
#!/bin/bash
d6e8d8
#  Theme Name : VioletBugs 
d6e8d8
#   Theme URI : 
d6e8d8
# Description : VioletBugs is a patch based on TreeFlower
d6e8d8
#               theme used to retheme the Mantis default application.
d6e8d8
#
d6e8d8
#		To install this patch you need to install the
d6e8d8
#		TreeFlower theme first. Then use this script to update
d6e8d8
#		the css and header files.
d6e8d8
#
d6e8d8
#		The main changes in this patch are the colors (from
d6e8d8
#		blue to green) and the artistic motive used (from
d6e8d8
#		flowers to bugs.)
d6e8d8
#
d6e8d8
#      Author : The CentOS Artwork SIG.
d6e8d8
#     Licence : This CSS design is released under GPL (
d6e8d8
#               http://www.opensource.org/licenses/gpl-license.php)
d6e8d8
 
d6e8d8
d6e8d8
EXPORTDIR=tmp_mantis
d6e8d8
d6e8d8
if [ "$@" ]; then
d6e8d8
d6e8d8
	for i in "$@";do
d6e8d8
	case $i in
d6e8d8
	   --subversion | -s	)
d6e8d8
		svn export http://localhost/svn/artwork/branches/MantisThemeDesign/VioletBugs/ $EXPORTDIR --force --quiet
d6e8d8
		/bin/cp $EXPORTDIR/css/* /usr/share/mantis/css/
d6e8d8
		/bin/cp -r $EXPORTDIR/images/* /usr/share/mantis/images/
d6e8d8
		/bin/cp $EXPORTDIR/*.html /usr/share/mantis/
d6e8d8
		/bin/rm -r $EXPORTDIR;;
d6e8d8
	esac
d6e8d8
	done
d6e8d8
else
d6e8d8
d6e8d8
	/bin/cp css/* /usr/share/mantis/css/
d6e8d8
	/bin/cp -r images/* /usr/share/mantis/images/
d6e8d8
	/bin/cp *.html /usr/share/mantis/core/
d6e8d8
fi 
d6e8d8
d6e8d8
# Final output
d6e8d8
echo '--------------'
d6e8d8
echo " $0: The Mantis theme was install successfully!" 
d6e8d8
echo '--------------'