Index: trunk/debs/wikimedia-task-dns-auth/gen-langlist-cnames |
— | — | @@ -8,6 +8,6 @@ |
9 | 9 | LANGLIST=$POWERDNSDIR/langlist |
10 | 10 | LANGLISTSOURCE="" |
11 | 11 | |
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 |
13 | 13 | |
14 | 14 | exit 0 |