X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=scripts%2Fdebian%2Fimport_dataset.sh;h=98e120762d6d17384a32db1e4dc936d34bccfecd;hb=7452ea84e72920178f3af1a717e7f034b5164449;hp=5a0b853eafdef9093be6c1c9948e61819d1a1ecd;hpb=a4eef13f8450fe8b109f4fafc074d50f0fda0a7c;p=dak.git 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")