summaryrefslogtreecommitdiff
path: root/sync_centos.sh
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2014-05-18 13:51:01 +0200
committerAndreas Baumann <abaumann@yahoo.com>2014-05-18 13:51:01 +0200
commit7953cefeaf609f0fc64788eafd3144660380aa0d (patch)
tree01f13a97b6eba66c17af8df95416852f942b3423 /sync_centos.sh
parentc0509bd96c2f9456b6eb4cd07a965fe1abceb56f (diff)
downloadcentosauto-7953cefeaf609f0fc64788eafd3144660380aa0d.tar.gz
centosauto-7953cefeaf609f0fc64788eafd3144660380aa0d.tar.bz2
updated to Cenots 6.5
host is ArchLinux or something modern, not Centos anymore
Diffstat (limited to 'sync_centos.sh')
-rwxr-xr-xsync_centos.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/sync_centos.sh b/sync_centos.sh
index d9314f5..f42c76a 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.4 ] ; then
+if [ -d /var/www/html/Centos/6.5 ] ; 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.4/$i/$a/ /var/www/html/Centos/6.4/$i/$a/
+ rsync -avSHP --delete --exclude "local*" --exclude "isos" centos.intergenia.de::centos-linux/6.5/$i/$a/ /var/www/html/Centos/6.5/$i/$a/
done
done
/bin/rm -f /var/lock/subsys/rsync_updates
else
- echo "Target directory /var/www/html/Centos/6.4 not present."
+ echo "Target directory /var/www/html/Centos/6.5 not present."
fi