+if [ "${suitename}" = "squeeze" ]; then
+ dak generate-packages-sources -s ${suite} && dak contents generate -f -s ${suite} -a ftp-master
+else
+ dak generate-packages-sources2 --force -s ${suite} && dak contents generate -f -s ${suite} -a ftp-master
+fi
+
+- For squeeze: merge 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
+ ${scriptsdir}/generate-i18n-Index "${ftpdir}/dists/${suite}"
+fi
+
+- Generate Releases: