X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=scripts%2Fdebian%2Fimport_dataset.sh;h=24ab88edb0ca54993467655046f25a6801047769;hb=52eb03dccab0a9898bca4d36a0a96ebe377fb977;hp=1c0a3186b40e8376a5666a75bd0b4c3f4efc7745;hpb=f0bfd37e7286156598d79b53501ebe2000bb7924;p=dak.git diff --git a/scripts/debian/import_dataset.sh b/scripts/debian/import_dataset.sh index 1c0a3186..24ab88ed 100755 --- a/scripts/debian/import_dataset.sh +++ b/scripts/debian/import_dataset.sh @@ -38,9 +38,14 @@ case "${IMPORTSUITE}" in INPUTFILE="/srv/release.debian.org/britney/Heidi/set/current" DO_CHANGELOG="true" ;; - squeeze-volatile) + squeeze-updates) # What file we look at. - INPUTFILE="/srv/release.debian.org/volatile/set/squeeze-volatile" + INPUTFILE="/srv/release.debian.org/sets/squeeze-updates/current" + DO_CHANGELOG="false" + ;; + wheezy-updates) + # What file we look at. + INPUTFILE="/srv/release.debian.org/sets/wheezy-updates/current" DO_CHANGELOG="false" ;; *) @@ -59,7 +64,7 @@ if [ "x${DO_CHANGELOG}x" = "xtruex" ]; then BRITNEY=" --britney" fi -cat ${INPUTFILE} | dak control-suite --set ${IMPORTSUITE} ${BRITNEY} +dak control-suite --set ${IMPORTSUITE} ${BRITNEY} < ${INPUTFILE} if [ "x${DO_CHANGELOG}x" = "xtruex" ]; then NOW=$(date "+%Y%m%d%H%M") @@ -69,6 +74,9 @@ if [ "x${DO_CHANGELOG}x" = "xtruex" ]; then find . -maxdepth 1 -mindepth 1 -type f -mmin +2880 -name 'ChangeLog.*' -delete fi +#echo "Regenerating Packages/Sources files, be patient" +#dak generate-packages-sources2 -s ${IMPORTSUITE} >/dev/null + echo "Done" exit 0