]> git.decadent.org.uk Git - dak.git/blobdiff - cron.daily-security
Add new top level directories
[dak.git] / cron.daily-security
index 73b308756000b6df681376dbc318453cf598fbee..32a459567c411906c92a6136ddb8a5dbbb7b94db 100644 (file)
@@ -32,9 +32,9 @@ rm -fr non-US
 
 for suite in $suites; do
     case $suite in
-       oldstable) override_suite=potato;;
-       stable) override_suite=woody;;
-       testing) override_suite=sarge;;
+       oldstable) override_suite=woody;;
+       stable) override_suite=sarge;;
+       testing) override_suite=etch;;
        *) echo "Unknown suite type ($suite)"; exit 1;;
     esac
     for component in $components; do
@@ -42,32 +42,40 @@ for suite in $suites; do
            case $override_type in
               deb) type="" ;;
               dsc) type=".src" ;;
-              udeb) type="skip" ;;
+              udeb) type=".debian-installer" ;;
            esac
-           if [ ! "$type" = "skip" ]; then
-               $masterdir/natalie -q -S -t $override_type -s $suite -c updates/$component < override.$override_suite.$component$type
-               case $suite in
-                   oldstable)
-                       $masterdir/natalie -q -a -t $override_type -s $suite -c updates/$component < override.woody.$component$type
-                       $masterdir/natalie -q -a -t $override_type -s $suite -c updates/$component < override.sarge.$component$type
-                       $masterdir/natalie -q -a -t $override_type -s $suite -c updates/$component < override.sid.$component$type
-                       ;;
-                   stable)
-                       $masterdir/natalie -q -a -t $override_type -s $suite -c updates/$component < override.sarge.$component$type
-                       $masterdir/natalie -q -a -t $override_type -s $suite -c updates/$component < override.sid.$component$type
-                       ;;
-                   testing)
-                       $masterdir/natalie -q -a -t $override_type -s $suite -c updates/$component < override.sid.$component$type
-                       ;;
-                   *) echo "Unknown suite type ($suite)"; exit 1;;
-               esac
+           # XXX RUN AFUCKINGAWAY
+           if [ "$override_type" = "udeb" ]; then
+               if [ ! "$component" = "main" ]; then
+                continue;
+              fi
+              if [ "$suite" = "unstable" ]; then
+                $masterdir/natalie -q -S -t $override_type -s $suite -c updates/$component < override.$override_suite.$component$type
+              fi
+           else
+              $masterdir/natalie -q -S -t $override_type -s $suite -c updates/$component < override.$override_suite.$component$type
            fi
+           case $suite in
+             oldstable)
+               if [ ! "$override_type" = "udeb" ]; then
+                  $masterdir/natalie -q -a -t $override_type -s $suite -c updates/$component < override.sarge.$component$type
+                fi
+               $masterdir/natalie -q -a -t $override_type -s $suite -c updates/$component < override.sid.$component$type
+               ;;
+             stable)
+               $masterdir/natalie -q -a -t $override_type -s $suite -c updates/$component < override.sid.$component$type
+               ;;
+             testing)
+               $masterdir/natalie -q -a -t $override_type -s $suite -c updates/$component < override.sid.$component$type
+               ;;
+             *) echo "Unknown suite type ($suite)"; exit 1;;
+           esac
        done
     done
 done
 
 # Generate .all3 overides for the buildd support
-for dist in potato woody sarge; do
+for dist in woody sarge etch; do
     rm -f override.$dist.all3
     components="main contrib non-free";
     if [ -f override.$dist.main.debian-installer ]; then