X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=cron.d%2F500update_po;h=9950b8a6dd7a692946bf93a1319b10d86dbeb003;hb=be58cfd6762c6e9f47201893e68ee0ebca88486e;hp=754951d11589c53264ab063d123a5e81ae97bd0f;hpb=a211e48a9da0cc2f24329ae11ee5aea2aeafca09;p=deb%2Fpackages.git diff --git a/cron.d/500update_po b/cron.d/500update_po index 754951d..9950b8a 100755 --- a/cron.d/500update_po +++ b/cron.d/500update_po @@ -79,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