]> git.deb.at Git - deb/packages.git/commitdiff
dirty quickfix for main contents file, see #573797
authorGerfried Fuchs <rhonda@debian.org>
Tue, 14 Jun 2011 08:35:07 +0000 (10:35 +0200)
committerGerfried Fuchs <rhonda@debian.org>
Tue, 14 Jun 2011 08:35:07 +0000 (10:35 +0200)
cron.d/100syncarchive
cron.d/100syncarchive_installer
cron.d/120synctrans

index e47241d1dab1897de2b5fd2b1a2a2c5108f6b847..7de876082f7487157b8906a357407c56704036ee 100755 (executable)
@@ -49,8 +49,8 @@ else
     do
         echo "retrieve Releases(.gpg) $dist"
        test -d us/${dist} || mkdir -p us/${dist}
-       rsync -t ${localdir}/dists/${dist}/Release us/${dist}/Release
-       rsync -t ${localdir}/dists/${dist}/Release.gpg us/${dist}/Release.gpg
+       rsync -Lt ${localdir}/dists/${dist}/Release us/${dist}/Release
+       rsync -Lt ${localdir}/dists/${dist}/Release.gpg us/${dist}/Release.gpg
 
        foo=\$arch_${dist//-/_}
        for arch in `eval echo $foo`
@@ -59,19 +59,21 @@ else
            do
                echo retrieve Packages $dist/$part/$arch
                test -d us/${dist}/${part}/binary-${arch} || mkdir -p us/${dist}/${part}/binary-${arch}
-               rsync -t ${localdir}/dists/${dist}/${part}/binary-${arch}/Packages.gz \
+               rsync -Lt ${localdir}/dists/${dist}/${part}/binary-${arch}/Packages.gz \
                    us/${dist}/${part}/binary-${arch}/Packages.gz
            done
            #FIXME: no Contents files for p-u
+           #FIXME: the symlinks for wheezy/sid/experimental will go away
+           #FIXME: this only pulls in the contents files for main in wheezy/sid/experimental
            echo retrieve Contents $dist/$arch
-           rsync -t ${localdir}/dists/${dist}/Contents-${arch}.gz \
+           rsync -Lt ${localdir}/dists/${dist}/Contents-${arch}.gz \
                us/${dist}/Contents-${arch}.gz
        done
        for part in ${parts}
         do
            echo retrieve Sources $dist/$part
             test -d us/${dist}/${part}/source || mkdir -p us/${dist}/${part}/source
-            rsync -t ${localdir}/dists/${dist}/${part}/source/Sources.gz \
+            rsync -Lt ${localdir}/dists/${dist}/${part}/source/Sources.gz \
                us/${dist}/${part}/source/Sources.gz
        done
 
index b93889544072b27234f83a7371a6486e5572b28b..996d46f9c0f87a0d24c57c94b3b835d6ce7f8ac2 100755 (executable)
@@ -41,7 +41,7 @@ else
                part="$part/debian-installer"
                echo retrieve Sources $dist/$part/$arch
                test -d us/${dist}/${part}/binary-${arch} || mkdir -p us/${dist}/${part}/binary-${arch}
-               rsync -t ${localdir}/dists/${dist}/${part}/binary-${arch}/Packages.gz \
+               rsync -Lt ${localdir}/dists/${dist}/${part}/binary-${arch}/Packages.gz \
                    us/${dist}/${part}/binary-${arch}/Packages.gz
            done
        done
index bd3e31d17dba8239e059f42cce995e952b897323..b97659eefb2bcba8fa273de669fda1431f114fbf 100755 (executable)
@@ -37,7 +37,7 @@ else
          do
            locale=$(echo $lang|perl -p -e 's/^([a-z]{2})-([a-z]{2})$/"$1_".uc($2)/e')
            echo "retrieve translated Descs $dist/$part/$lang ($locale)"
-            rsync -t ${localdir}/dists/${dist}/${part}/i18n/Translation-$locale.bz2 \
+            rsync -Lt ${localdir}/dists/${dist}/${part}/i18n/Translation-$locale.bz2 \
                us/${dist}/${part}/i18n/Translation-$locale.bz2
          done
        done