diff options
author | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-04-10 17:59:47 -0500 |
---|---|---|
committer | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-04-10 17:59:47 -0500 |
commit | 69d84cc6edab249037522d00d3685939dc38495a (patch) | |
tree | f992e0a134bef65ab9df7a88997192d73510326e /main.sh | |
parent | af57d31dfb26a7c3d6fe403e0fdb7d540c22d4de (diff) |
Firs main deliver
Diffstat (limited to 'main.sh')
-rw-r--r-- | main.sh | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -0,0 +1,21 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +source config.sh + +function mkrsexclude { + error=1 + while ${error}; do + run_python_cmd "filter.py" + error=$? + done +} + +msg "Cleaning $tempdir" +stdnull "rm -r $tempdir/* " + +msg "Generating exclude list for rsync" +mkrsexclude + +msg "Syncing repo files without delete" +${rsync_update_command} --exclude-from=${rsync_blacklist} ${mirror}${mirropath}/
\ No newline at end of file |