]> git.deb.at Git - deb/packages.git/blobdiff - cron.d/100syncarchive
s/stable/oldstable/
[deb/packages.git] / cron.d / 100syncarchive
index 5b534763f17842491b094f8e2a5da99105ed1925..46da47ff17156c9194ddde657d85963f083df917 100755 (executable)
@@ -12,6 +12,12 @@ then
     echo using remote mirror
     for dist in $dists
     do
+        echo "retrieve Release(.gpg) $dist"
+       test -d us/${dist} || mkdir -p us/${dist}
+       (cd us/${dist} &&
+           wget -q -N ${ftpsite}/dists/${dist}/Release &&
+           wget -q -N ${ftpsite}/dists/${dist}/Release.gpg )
+        
        foo=\$arch_${dist//-/_}
        for arch in `eval echo $foo`
        do
@@ -41,6 +47,12 @@ else
     echo using local mirror
     for dist in $dists
     do
+        echo "retrieve Releases(.gpg) $dist"
+       test -d us/${dist} || mkdir -p us/${dist}
+       (cd us/${dist} &&
+           rsync -t ${localdir}/dists/${dist}/Release &&
+           rsync -t ${localdir}/dists/${dist}/Release.gpg )
+
        foo=\$arch_${dist//-/_}
        for arch in `eval echo $foo`
        do
@@ -100,6 +112,12 @@ done
 #
 for dist in oldstable stable testing
 do
+    echo "retrieve Release(.gpg) $dist"
+    test -d security/${dist} || mkdir -p security/${dist}
+    (cd security/${dist} &&
+       wget -q -N ${security_ftpsite}/dists/${dist}/updates/Release &&
+       wget -q -N ${security_ftpsite}/dists/${dist}/updates/Release.gpg )
+        
     foo=\$arch_${dist//-/_}
     for arch in `eval echo $foo`
     do