X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=cron.d%2F500update_po;h=9950b8a6dd7a692946bf93a1319b10d86dbeb003;hb=be58cfd6762c6e9f47201893e68ee0ebca88486e;hp=a76f321ceb62cfba8a17efcba397b0b9ec3947e0;hpb=9df0c1156a12d94c9d0f9a1af7f6aa7bd26c4742;p=deb%2Fpackages.git diff --git a/cron.d/500update_po b/cron.d/500update_po index a76f321..9950b8a 100755 --- a/cron.d/500update_po +++ b/cron.d/500update_po @@ -31,7 +31,8 @@ templates/html/error.tmpl templates/html/filelist.tmpl templates/html/foot.tmpl templates/html/head.tmpl -templates/html/index.tmpl +templates/html/index_head.tmpl +templates/html/index_foot.tmpl templates/html/messages.tmpl templates/html/newpkg.tmpl templates/html/search.tmpl @@ -42,7 +43,8 @@ templates/html/tag_index.tmpl templates/html/util.inc templates/rfc822/search.tmpl templates/rss/newpkg.tmpl -templates/txt/index.tmpl +templates/txt/index_head.tmpl +templates/txt/index_foot.tmpl " podomains="pdo templates sections langs debtags" @@ -77,7 +79,7 @@ done for domain in ${podomains} do perl -p -i -e "s,^#:\s*\Q${topdir}\E,#: .,go" ${domain}.pot.new - if [ ! -f ${domain}.pot.new ] || diff -I"POT-Creation-Date" -q ${domain}.pot.new ${domain}.pot >/dev/null 2>&1 + if [ ! -f ${domain}.pot.new ] || diff -I"POT-Creation-Date" -I"^#: " -q ${domain}.pot.new ${domain}.pot >/dev/null 2>&1 then echo "${domain}.pot unchanged" rm ${domain}.pot.new