]> err.no Git - dak/commitdiff
add comment about Sources* filesfix naming of unstable's q-d output in fgrepdon't...
authorRyan Murray <rmurray@debian.org>
Wed, 11 Jun 2003 19:00:15 +0000 (19:00 +0000)
committerRyan Murray <rmurray@debian.org>
Wed, 11 Jun 2003 19:00:15 +0000 (19:00 +0000)
wanna-build/trigger.daily

index dc454e4c8f9c5bda471182a4cc25c3b89492f9c0..8a1e4c39c35db40b46ecfe9eb7228edd6f697f55 100755 (executable)
@@ -3,6 +3,9 @@
 # Updates wanna-build databases after the archive maintenance
 # finishes
 #
+# Files:
+#     Sources-* == upstream fetched file
+#     Sources.* == uncompressed, concat'd version
 PATH="/bin:/usr/bin"
 #testing must be before unstable so late upld don't build for testing needlessly
 DISTS="oldstable-security stable stable-security testing testing-security unstable"
@@ -161,10 +164,10 @@ for d in $DISTS ; do
                done
        fi
        for a in $ARCHS ; do
-               if [ "$d" = "unstable" ]; then
+               if [ "$d" = "unstable" -o ! -e "quinn-unstable.$a-old" ]; then
                        quinn-diff -A $a -a /org/buildd.debian.org/web/quinn-diff/Packages-arch-specific -s Sources.$d -p Packages.$d.$a >> quinn-$d.$a
                else
-                       quinn-diff -A $a -a /org/buildd.debian.org/web/quinn-diff/Packages-arch-specific -s Sources.$d -p Packages.$d.$a | fgrep -v -f quinn-unstable.$a >> quinn-$d.$a
+                       quinn-diff -A $a -a /org/buildd.debian.org/web/quinn-diff/Packages-arch-specific -s Sources.$d -p Packages.$d.$a | fgrep -v -f quinn-unstable.$a-old >> quinn-$d.$a
                fi
        done
 done