r113320 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113319‎ | r113320 | r113321 >
Date:23:18, 7 March 2012
Author:laner
Status:deferred
Tags:
Comment:
Add zero support.
Modified paths:
  • /trunk/debs/wikimedia-task-dns-auth/gen-langlist-cnames (modified) (history)

Diff [purge]

Index: trunk/debs/wikimedia-task-dns-auth/gen-langlist-cnames
@@ -8,6 +8,6 @@
99 LANGLIST=$POWERDNSDIR/langlist
1010 LANGLISTSOURCE=""
1111
12 -[ $LANGLIST -nt $POWERDNSDIR/langlist-cnames ] && < $LANGLIST awk '{ print $1"\t\t\t1H\tIN CNAME\t$cnamedomain"; print"www."$1"\t\t\t1H\tIN CNAME\t$cnamedomain"; print $1".m\t\t\t1H\tIN CNAME\tm.wikimedia.org." }' > $POWERDNSDIR/langlist-cnames
 12+[ $LANGLIST -nt $POWERDNSDIR/langlist-cnames ] && < $LANGLIST awk '{ print $1"\t\t\t1H\tIN CNAME\t$cnamedomain"; print"www."$1"\t\t\t1H\tIN CNAME\t$cnamedomain"; print $1".m\t\t\t1H\tIN CNAME\tm.wikimedia.org."; print $1".zero\t\t\t1H\tIN CNAME\tm.wikimedia.org." }' > $POWERDNSDIR/langlist-cnames
1313
1414 exit 0