]> git.deb.at Git - deb/packages.git/commitdiff
Retrieve backports & volatile to their own suite
authorJeroen van Wolffelaar <jeroen@wolffelaar.nl>
Thu, 23 Feb 2006 02:31:33 +0000 (02:31 +0000)
committerJeroen van Wolffelaar <jeroen@wolffelaar.nl>
Thu, 23 Feb 2006 02:31:33 +0000 (02:31 +0000)
cron.d/100syncarchive_backports
cron.d/100syncarchive_volatile

index 78ca56a71442ffaed8203913d29aeb921585b090..4ac478f9a62ef0db7c13b7e73d281a2c6cf03377 100755 (executable)
@@ -15,19 +15,19 @@ do
       for part in ${parts}
       do
        echo retrieve Packages $dist/$part/backports/$arch
-       test -d backports/${dist}/${part}/binary-${arch} || mkdir -p backports/${dist}/${part}/binary-${arch}
-       (cd backports/${dist}/${part}/binary-${arch} &&
+       test -d backports/${dist}-volatile/${part}/binary-${arch} || mkdir -p backports/${dist}-volatile/${part}/binary-${arch}
+       (cd backports/${dist}-volatile/${part}/binary-${arch} &&
            wget -q -N ${backports_ftpsite}/dists/sarge-backports/${part}/binary-${arch}/Packages.gz)
       done
       echo retrieve Contents $dist/$arch
-      (cd backports/${dist} &&
+      (cd backports/${dist}-volatile &&
          wget -q -N ${backports_ftpsite}/dists/sarge-backports/Contents-${arch}.gz)
     done
     for part in ${parts}
     do
         echo retrieve Sources $dist/$part/backports
-        test -d backports/${dist}/${part}/source || mkdir -p backports/${dist}/${part}/source
-        (cd backports/${dist}/${part}/source &&
+        test -d backports/${dist}-volatile/${part}/source || mkdir -p backports/${dist}-volatile/${part}/source
+        (cd backports/${dist}-volatile/${part}/source &&
             wget -q -N ${backports_ftpsite}/dists/sarge-backports/${part}/source/Sources.gz)
     done
 done
index ed7a030fdd8a82429ee0a966d3400a57781e1038..72a381edc325f05c8159c9ced583f48507339ee0 100755 (executable)
@@ -15,16 +15,16 @@ do
       for part in ${parts}
       do
        echo retrieve Packages $dist/$part/volatile/$arch
-       test -d volatile/${dist}/${part}/binary-${arch} || mkdir -p volatile/${dist}/${part}/binary-${arch}
-       (cd  volatile/${dist}/${part}/binary-${arch} &&
+       test -d volatile/${dist}-volatile/${part}/binary-${arch} || mkdir -p volatile/${dist}-volatile/${part}/binary-${arch}
+       (cd  volatile/${dist}-volatile/${part}/binary-${arch} &&
            wget -q -N ${volatile_ftpsite}/dists/${dist}/volatile/${part}/binary-${arch}/Packages.gz)
       done
     done
     for part in ${parts}
     do
         echo retrieve Sources $dist/$part/volatile
-        test -d volatile/${dist}/${part}/source || mkdir -p volatile/${dist}/${part}/source
-        (cd volatile/${dist}/${part}/source &&
+        test -d volatile/${dist}-volatile/${part}/source || mkdir -p volatile/${dist}-volatile/${part}/source
+        (cd volatile/${dist}/${part}-volatile/source &&
             wget -q -N ${volatile_ftpsite}/dists/${dist}/volatile/${part}/source/Sources.gz)
     done
 done