]> git.deb.at Git - deb/packages.git/blobdiff - cron.d/100syncarchive
newpkg_info: Fix handling of removed packages
[deb/packages.git] / cron.d / 100syncarchive
index 46da47ff17156c9194ddde657d85963f083df917..1436bd971ff327e07f52edc50ee71ed607b27ab3 100755 (executable)
@@ -22,6 +22,8 @@ then
        for arch in `eval echo $foo`
        do
            test ! "$arch" = "kfreebsd-i386" || continue
+           test ! "$arch" = "kfreebsd-amd64" || continue
+           test ! "$arch" = "armel" || continue
            for part in ${parts}
            do
                echo retrieve Packages $dist/$part/$arch
@@ -57,6 +59,8 @@ else
        for arch in `eval echo $foo`
        do
            test ! "$arch" = "kfreebsd-i386" || continue
+           test ! "$arch" = "kfreebsd-amd64" || continue
+           test ! "$arch" = "armel" || continue
            for part in ${parts}
            do
                echo retrieve Packages $dist/$part/$arch
@@ -80,37 +84,9 @@ else
     done
 fi
 
-# Non-US archive
-#
-for dist in oldstable
-do
-    foo=\$arch_${dist//-/_}
-    for arch in `eval echo $foo`
-    do
-       for part in ${parts}
-       do
-           echo retrieve Packages $dist/$part/non-US/$arch
-           test -d non-US/${dist}/${part}/binary-${arch} || mkdir -p non-US/${dist}/${part}/binary-${arch}
-           (cd non-US/${dist}/${part}/binary-${arch} &&
-               wget -q -N ${nonus_ftpsite}/dists/${dist}/non-US/${part}/binary-${arch}/Packages.gz)
-       done
-       #FIXME: no Contents files for p-u
-       echo retrieve Contents $dist/non-US/$arch
-       (cd non-US/${dist} &&
-           wget -q -N ${nonus_ftpsite}/dists/${dist}/non-US/Contents-${arch}.gz)
-    done
-    for part in ${parts}
-    do
-        echo retrieve Sources $dist/$part/non-US
-       test -d non-US/${dist}/${part}/source || mkdir -p non-US/${dist}/${part}/source
-       (cd non-US/${dist}/${part}/source &&
-           wget -q -N ${nonus_ftpsite}/dists/${dist}/non-US/${part}/source/Sources.gz)
-    done
-done
-
 # security archive
 #
-for dist in oldstable stable testing
+for dist in sarge etch lenny
 do
     echo "retrieve Release(.gpg) $dist"
     test -d security/${dist} || mkdir -p security/${dist}