]> git.decadent.org.uk Git - dak.git/blobdiff - config/debian/dinstall.variables
dont hardcode testing/unstable names, use an extra var for dep11dir
[dak.git] / config / debian / dinstall.variables
index 081a48c55f58ae6ba9f57577eddd014d6c83651c..0c1db1628131c2cc4f373752877a7e6359ac705d 100644 (file)
@@ -45,3 +45,13 @@ LOCK_CHANGELOG="$lockdir/changelog.lock"
 
 # Statefile for the users
 DINSTALLSTATE="${webdir}/dinstall.status"
+
+# dists for which we import external data (i18n, dep11)
+# as thats usually testing and unstable, but we need codenames,
+# get em out of the db.
+extimportdists=""
+for suite in testing unstable; do
+    codename=$(dak admin s show ${suite}|grep '^Codename')
+    codename=${codename##* }
+    extimportdists="${extimportdists} ${codename}"
+done