#!/bin/bash 

echo "ShineISP Update and Reset tasks.";
echo "================================";
echo "";
echo "SVN Update";
echo "==========";
cd /var/www/shineisp.com/web/demo/ 
git pull
echo "";

echo "Setting the permissions for ShineISP";
echo "====================================";
cd /var/www/shineisp.com/web/demo/ 
chown web3713 . -R && chgrp client1 . -R
chmod 776 application/configs/ 
chmod 776 public -R
chmod 776 reset.sh
rm -f public/.htaccess
rm -f application/configs/config.xml

echo "Finished";

#!/bin/bash 

echo "ShineISP Update and Reset tasks.";
echo "================================";
echo "";
echo "GIT Update";
echo "==========";
cd /var/www/shineisp.com/web/demo/ 
git pull
echo "";

echo "Setting the permissions for ShineISP";
echo "====================================";
cd /var/www/shineisp.com/web/demo/ 
chown web3713 . -R && chgrp client1 . -R
chmod 776 application/configs/ 
chmod 776 public -R
chmod 776 reset.sh
rm -f public/.htaccess

echo "Finished";

Reset tool for demo updated wit the GIT command
Reset tool for demo updated wit the GIT command

Change-Id: I17c48b80822083bb473d1a792461c91ee8be55cf
