]> git.decadent.org.uk Git - dak.git/blobdiff - scripts/debian/generate-d-i
Remove hardcoding of database name, port etc
[dak.git] / scripts / debian / generate-d-i
index db3808392c3acdda31a94c1741d6199e5fcf3df0..4e2587faea2292368940066134ee5230a0a4ddb9 100755 (executable)
@@ -12,7 +12,7 @@ exec > $webdir/d-i 2>&1
 
 
 echo "udeb's in testing that don't (anymore) correspond to any testing source:"
-psql projectb -c "select b.package, b.version, (SELECT arch_string from
+psql -c "select b.package, b.version, (SELECT arch_string from
 architecture where b.architecture=architecture.id) as arch, s.source from
 bin_associations ba LEFT JOIN binaries b on (ba.bin=b.id) LEFT JOIN source s
 on (b.source=s.id) WHERE ba.suite=4 AND s.id NOT IN (SELECT source from
@@ -20,7 +20,7 @@ src_associations WHERE suite=4) AND b.type = 'udeb' ORDER BY s.source,
 b.package, b.architecture;"
 
 echo "udeb's in unstable that should be in testing too:"
-psql projectb -c "select b.package, b.version, (SELECT arch_string from
+psql -c "select b.package, b.version, (SELECT arch_string from
 architecture where b.architecture=architecture.id) as arch, s.source from
 bin_associations ba LEFT JOIN binaries b on (ba.bin=b.id) LEFT JOIN source s
 on (b.source=s.id) WHERE ba.suite=5 AND NOT EXISTS (SELECT 1 FROM
@@ -29,7 +29,7 @@ source from src_associations WHERE suite=4) AND b.type = 'udeb' AND
 b.architecture NOT IN (4,8,12) ORDER BY s.source, b.package, b.architecture;"
 
 echo "udeb's in t-p-u that should be in testing too:"
-psql projectb -c "select b.package, b.version, (SELECT arch_string from
+psql -c "select b.package, b.version, (SELECT arch_string from
 architecture where b.architecture=architecture.id) as arch, s.source from
 bin_associations ba LEFT JOIN binaries b on (ba.bin=b.id) LEFT JOIN source s
 on (b.source=s.id) WHERE ba.suite=3 AND NOT EXISTS (SELECT 1 FROM