[Debian-l10n-commits] dl10n branch master updated. 0ad5732cf50945e159d0871d3506a6f766414d09

Christian Perrier bubulle at alioth.debian.org
Mon Jul 16 23:59:37 UTC 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "dl10n".

The branch, master has been updated
       via  0ad5732cf50945e159d0871d3506a6f766414d09 (commit)
       via  3466bb6caabbbcc0ce1c86e0d38fa7230db6e080 (commit)
      from  85324e3196086af67b13ece7e25b074700206934 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

http://anonscm.debian.org/gitweb/?p=debian-l10n/dl10n.git;a=commitdiff;h=0ad5732cf50945e159d0871d3506a6f766414d09

commit 0ad5732cf50945e159d0871d3506a6f766414d09
Author: Christian PERRIER <bubulle at debian.org>
Date:   Mon Jul 16 17:59:25 2012 -0600

    Forcibly copy images files


http://anonscm.debian.org/gitweb/?p=debian-l10n/dl10n.git;a=commitdiff;h=3466bb6caabbbcc0ce1c86e0d38fa7230db6e080

commit 3466bb6caabbbcc0ce1c86e0d38fa7230db6e080
Author: Christian PERRIER <bubulle at debian.org>
Date:   Mon Jul 16 17:58:23 2012 -0600

    Fix the images copy

-----------------------------------------------------------------------

Summary of changes:
 cron/l10n-pkg-status |    8 +++++---
 cron/nmu-update      |    4 ++--
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/cron/l10n-pkg-status b/cron/l10n-pkg-status
index 1fa8517..0d0c157 100755
--- a/cron/l10n-pkg-status
+++ b/cron/l10n-pkg-status
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -x
 # genpts - Generate the data for the PTS links
 
 set -e
@@ -12,8 +12,10 @@ cd $DL10NDIR
 
 rm -rf "$OUTDIR"/*
 
-mkdir "$OUTDIR/img"
-cp html/translated.png html/fuzzy.png html/untranslated.png "$OUTDIR/img"
+mkdir "$OUTDIR/img" || true
+cp $DL10NDIR/htdocs-static/translated.png "$OUTDIR/img"
+cp $DL10NDIR/htdocs-static/fuzzy;pn "$OUTDIR/img"
+cp $DL10NDIR/htdocs-static/untranslated.png "$OUTDIR/img"
 
 PERLLIB=lib ./dl10n-pts                      \
         --db "$STAT_DATABASE_SID"                \
diff --git a/cron/nmu-update b/cron/nmu-update
index 95ecf6a..a632c44 100755
--- a/cron/nmu-update
+++ b/cron/nmu-update
@@ -23,5 +23,5 @@ $DL10NDIR/dl10n-nmu		\
 		> $LOGPREFIX.log 2> $LOGPREFIX.err
 
 cat $LOGPREFIX.err
-cp -l $DL10NDIR/htdocs-static/score.png "$OUTDIR/html"
-cp -l $DL10NDIR/htdocs-static/nmu.css "$OUTDIR/html"
+cp $DL10NDIR/htdocs-static/score.png "$OUTDIR/html"
+cp $DL10NDIR/htdocs-static/nmu.css "$OUTDIR/html"
-----------------------------------------------------------------------


hooks/post-receive
-- 
dl10n



More information about the Debian-l10n-commits mailing list