[24213] in Source-Commits

home help back first fref pref prev next nref lref last post

/svn/athena r23814 - trunk/debathena/config/auto-update/debian

daemon@ATHENA.MIT.EDU (Geoffrey Thomas)
Mon May 18 22:06:35 2009

Date: Mon, 18 May 2009 22:06:26 -0400
From: Geoffrey Thomas <geofft@MIT.EDU>
Message-Id: <200905190206.n4J26QKL000350@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: geofft
Date: 2009-05-18 22:06:26 -0400 (Mon, 18 May 2009)
New Revision: 23814

Modified:
   trunk/debathena/config/auto-update/debian/athena-auto-update
Log:
auto-update: don't parse non-production releases for debathena.clusterinfo.list

We don't have intrepid-proposed-proposed any more, but we do risk
intrepid-proposed intrepid-proposed. It's not fatal but is worth
avoiding for cleanliness.

Modified: trunk/debathena/config/auto-update/debian/athena-auto-update
===================================================================
--- trunk/debathena/config/auto-update/debian/athena-auto-update	2009-05-19 02:04:29 UTC (rev 23813)
+++ trunk/debathena/config/auto-update/debian/athena-auto-update	2009-05-19 02:06:26 UTC (rev 23814)
@@ -83,9 +83,9 @@
      echo
      case $APT_RELEASE in
        production)  ;;
-       proposed)    echo "$dsource" | awk '{sub("-.*", "", $3); $3 = $3 "-proposed"; print}' ;;
-       development) echo "$dsource" | awk '{sub("-.*", "", $3); $3 = $3 "-proposed"; print}'
-                    echo "$dsource" | awk '{sub("-.*", "", $3); $3 = $3 "-development"; print}' ;;
+       proposed)    echo "$dsource" | awk '$3 !~ /-/ {$3 = $3 "-proposed"; print}' ;;
+       development) echo "$dsource" | awk '$3 != /-/ {$3 = $3 "-proposed"; print}'
+                    echo "$dsource" | awk '$3 != /-/ {$3 = $3 "-development"; print}' ;;
      esac
     ) > $slist
   else


home help back first fref pref prev next nref lref last post