diff options
Diffstat (limited to 'sync_centos.sh')
-rwxr-xr-x | sync_centos.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sync_centos.sh b/sync_centos.sh index bd6dece..d9314f5 100755 --- a/sync_centos.sh +++ b/sync_centos.sh @@ -4,14 +4,14 @@ if [ -f /var/lock/subsys/rsync_updates ]; then exit 0 fi # i386 -if [ -d /var/www/html/Centos/6.3 ] ; then +if [ -d /var/www/html/Centos/6.4 ] ; then touch /var/lock/subsys/rsync_updates for a in x86_64; do for i in os updates extras centosplus contrib; do - rsync -avSHP --delete --exclude "local*" --exclude "isos" centos.intergenia.de::centos-linux/6.3/$i/$a/ /var/www/html/Centos/6.3/$i/$a/ + rsync -avSHP --delete --exclude "local*" --exclude "isos" centos.intergenia.de::centos-linux/6.4/$i/$a/ /var/www/html/Centos/6.4/$i/$a/ done done /bin/rm -f /var/lock/subsys/rsync_updates else - echo "Target directory /share/CentOS/6.3 not present." + echo "Target directory /var/www/html/Centos/6.4 not present." fi |