]> git.decadent.org.uk Git - dak.git/blobdiff - scripts/debian/import_dataset.sh
Update configuration for wheezy release.
[dak.git] / scripts / debian / import_dataset.sh
index 5a0b853eafdef9093be6c1c9948e61819d1a1ecd..24ab88edb0ca54993467655046f25a6801047769 100755 (executable)
@@ -43,6 +43,11 @@ 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"
+        ;;
     *)
         echo "You are so wrong here that I can't even believe it. Sod off."
         exit 42
@@ -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")