Merge pull request #39 from nixolas1/dev

New scripts v2
This commit is contained in:
Nicolas
2014-10-24 11:36:03 +02:00
2 changed files with 8 additions and 7 deletions

7
getnew.sh Executable file
View File

@@ -0,0 +1,7 @@
cd /var/www
if ! git --git-dir=".git" diff --quiet
then
git pull
./setperms.sh
fi

View File

@@ -1,7 +1 @@
cd /var/www
if ! git --git-dir=".git" diff --quiet
then
git pull
./setperms.sh
fi
ssh root@zoff.no '/var/www/getnew.sh'