X-Git-Url: https://git.decadent.org.uk/gitweb/?p=dak.git;a=blobdiff_plain;f=scripts%2Fdebian%2Fimport_dataset.sh;h=98e120762d6d17384a32db1e4dc936d34bccfecd;hp=5a0b853eafdef9093be6c1c9948e61819d1a1ecd;hb=ab9c05102e8fcb8543003a7b4c99c9a929e25dc9;hpb=8cc3abc9bfb1145151bacc92ba253df255401e6b diff --git a/scripts/debian/import_dataset.sh b/scripts/debian/import_dataset.sh index 5a0b853e..98e12076 100755 --- a/scripts/debian/import_dataset.sh +++ b/scripts/debian/import_dataset.sh @@ -38,11 +38,26 @@ case "${IMPORTSUITE}" in INPUTFILE="/srv/release.debian.org/britney/Heidi/set/current" DO_CHANGELOG="true" ;; + testing-debug) + # What file we look at. + INPUTFILE="/srv/release.debian.org/sets/testing-debug/current" + DO_CHANGELOG="false" + ;; squeeze-updates) # What file we look at. 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" + ;; + jessie-updates) + # What file we look at. + INPUTFILE="/srv/release.debian.org/sets/jessie-updates/current" + DO_CHANGELOG="false" + ;; *) echo "You are so wrong here that I can't even believe it. Sod off." exit 42 @@ -59,7 +74,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")