]> git.decadent.org.uk Git - dak.git/commitdiff
README.stable-point-release: add if block around squeeze-only step
authorAnsgar Burchardt <ansgar@debian.org>
Mon, 30 Sep 2013 18:09:53 +0000 (20:09 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Mon, 30 Sep 2013 18:11:16 +0000 (20:11 +0200)
docs/README.stable-point-release

index 9f2288ad8a4c0de9a110a7b47877e757e8fae6cd..0e3895223765b59ec758e62eb4068c1d4787b988 100644 (file)
@@ -92,15 +92,17 @@ dak generate-filelist -s ${suite}
 dak generate-packages-sources -s ${suite} ; dak contents generate -f -s ${suite} -a ftp-master
 
 - For squeeze: merge Contents
-cd $ftpdir/dists/${suite}
-for carch in $(dak admin s-a list-arch ${suite}); do
-  echo doing ${carch}
-  cp $base/dak/templates/contents Contents-${carch}.new;
-  zcat {main,contrib,non-free}/Contents-${carch}.gz | ~joerg/mergecontents.pl | sort >> Contents-${carch}.new;
-  gzip -9v Contents-${carch}.new;
-  mv Contents-${carch}.new.gz Contents-${carch}.gz;
-done
-rm {main,contrib,non-free}/Contents-*
+if [ "${suitename}" = "squeeze" ]; then
+  cd $ftpdir/dists/${suite}
+  for carch in $(dak admin s-a list-arch ${suite}); do
+    echo doing ${carch}
+    cp $base/dak/templates/contents Contents-${carch}.new;
+    zcat {main,contrib,non-free}/Contents-${carch}.gz | ~joerg/mergecontents.pl | sort >> Contents-${carch}.new;
+    gzip -9v Contents-${carch}.new;
+    mv Contents-${carch}.new.gz Contents-${carch}.gz;
+  done
+  rm {main,contrib,non-free}/Contents-*
+fi
 
 - For wheezy: update main/i18n/Index
 if [ "${suitename}" = "wheezy" ]; then