From f370b8718d81bb1967ef5c490dc13a4426a93306 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Mon, 30 Sep 2013 20:09:53 +0200 Subject: [PATCH] README.stable-point-release: add if block around squeeze-only step --- docs/README.stable-point-release | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/docs/README.stable-point-release b/docs/README.stable-point-release index 9f2288ad..0e389522 100644 --- a/docs/README.stable-point-release +++ b/docs/README.stable-point-release @@ -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 -- 2.39.5