X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=scripts%2Fdebian%2Fimport_dataset.sh;h=a8acb4993e219249ec63d503f83afed95fda0d99;hb=cd9f718538f28dff60845915f7d6155f3a654222;hp=5a0b853eafdef9093be6c1c9948e61819d1a1ecd;hpb=8cc3abc9bfb1145151bacc92ba253df255401e6b;p=dak.git diff --git a/scripts/debian/import_dataset.sh b/scripts/debian/import_dataset.sh index 5a0b853e..a8acb499 100755 --- a/scripts/debian/import_dataset.sh +++ b/scripts/debian/import_dataset.sh @@ -43,6 +43,16 @@ case "${IMPORTSUITE}" in 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 +69,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")