sync update
This commit is contained in:
parent
b59723c3f1
commit
18f3924439
|
@ -55,3 +55,8 @@ rsync --partial -v -r ~/cvs/serendipity/additional_themes/ \
|
|||
rsync --partial -v -r ~/cvs/serendipity/additional_plugins/homepage/ \
|
||||
garvinhicking,php-blog@web.sourceforge.net:/home/groups/p/ph/php-blog/htdocs/homepage/
|
||||
|
||||
cp ~/cvs/serendipity/additional_plugins/*.xml ~/cvs/serendipity/git/additional_plugins/
|
||||
cd ~/cvs/serendipity/git/additional_plugins
|
||||
git add *.xml
|
||||
git commit -m "Automagic XML sync"
|
||||
git push origin
|
||||
|
|
|
@ -17,3 +17,6 @@ foreach($out AS $file) {
|
|||
`cvs rm $file`;
|
||||
}
|
||||
}
|
||||
|
||||
`cvs commit -m "gitclone.sh autocommit"`;
|
||||
|
||||
|
|
12
gitclone.sh
12
gitclone.sh
|
@ -1,5 +1,15 @@
|
|||
#!/bin/bash
|
||||
rsync --dry-run \
|
||||
cd ~/cvs/serendipity/git/additional_plugins/
|
||||
git pull
|
||||
|
||||
cd ~/cvs/serendipity/git/additional_themes/
|
||||
git pull
|
||||
|
||||
rsync \
|
||||
--exclude=/*.zip --exclude=/*.tgz --exclude=.project --exclude=.cvsignore --exclude=SerendipityTranslator.zip --exclude=CVS --exclude=.git --exclude=homepage/by*.htm --exclude=homepage/template*.htm --exclude=homepage/box*.htm --exclude=homepage/last.txt \
|
||||
--archive --no-t --no-p --checksum -i --delete-after -v -z ~/cvs/serendipity/git/additional_plugins/ ~/cvs/serendipity/additional_plugins
|
||||
|
||||
rsync \
|
||||
--exclude=/*.zip --exclude=/*.tgz --exclude=.project --exclude=.cvsignore --exclude=CVS --exclude=.git \
|
||||
--archive --no-t --no-p --checksum -i --delete-after -v -z ~/cvs/serendipity/git/additional_themes/ ~/cvs/serendipity/additional_themes
|
||||
|
Loading…
Reference in a new issue