/[webwml]/cron/lessoften
ViewVC logotype

Diff of /cron/lessoften

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9 by kraai, Wed Nov 17 14:57:40 2004 UTC revision 1.10 by kraai, Fri Nov 19 04:05:37 2004 UTC
# Line 7  umask 002 Line 7  umask 002
7    
8  # locking  # locking
9  if lockfile -! -l 43200 -r 0 "$crondir/lessoften.lock"; then  if lockfile -! -l 43200 -r 0 "$crondir/lessoften.lock"; then
10    echo `hostname` is unable to start update, lock file exists.    echo `hostname` is unable to start update, lock file exists. >> $crondir/lessoften.log
11    exit 1    exit 1
12  fi  fi
13  trap "rm -f $crondir/lessoften.lock" exit  trap "rm -f $crondir/lessoften.lock" exit
# Line 42  cp -af $webtopdir/bf/woody/boot-floppies Line 42  cp -af $webtopdir/bf/woody/boot-floppies
42  # previously in parts/1l10ndata, from bouz  # previously in parts/1l10ndata, from bouz
43  cd $crondir/datafiles/  cd $crondir/datafiles/
44  echo "updating the database file used to display l10n stats..." >> $crondir/lessoften.log  echo "updating the database file used to display l10n stats..." >> $crondir/lessoften.log
45  wget -q -N http://people.debian.org/~pmachard/l10n/material/data/unstable.gz || { echo "couldn't fetch data/unstable on gluck!"; exit 1; }  wget -q -N http://people.debian.org/~pmachard/l10n/material/data/unstable.gz || { echo "couldn't fetch data/unstable!" >> $crondir/lessoften.log; exit 1; }
46  gunzip -c -f unstable.gz > unstable.gluck  gunzip -c -f unstable.gz > unstable.gluck
47  ln -sf $crondir/datafiles/unstable.gluck $webtopdir/webwml/english/international/l10n/data/unstable.gluck  ln -sf $crondir/datafiles/unstable.gluck $webtopdir/webwml/english/international/l10n/data/unstable.gluck
48    

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.5