/[webwml]/cron/lessoften
ViewVC logotype

Diff of /cron/lessoften

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

revision 1.22 by djpig, Sun Oct 22 08:18:44 2006 UTC revision 1.23 by djpig, Sun Apr 8 15:56:57 2007 UTC
# Line 27  echo "copying events/materials/ in place Line 27  echo "copying events/materials/ in place
27  install -d -m 2775 -g debwww $webdir/events/materials  install -d -m 2775 -g debwww $webdir/events/materials
28  cp -a $webtopdir/events-materials/* $webdir/events/materials/  cp -a $webtopdir/events-materials/* $webdir/events/materials/
29    
30  # build installation guide for etch  # build installation guide for etch/lenny
31  cd $crondir/tmp  cd $crondir/tmp
32  igdsc=`ls -t1 $ftpdir/pool/main/i/installation-guide/installation-guide_*.dsc | head -1`  igdsc=`ls -t1 $ftpdir/pool/main/i/installation-guide/installation-guide_*.dsc | head -1`
33  igdir=`basename "$igdsc" |  igdir=`basename "$igdsc" |
34          sed -e 's/installation-guide_/installation-guide-/' -e 's/\.dsc//'`          sed -e 's/installation-guide_/installation-guide-/' -e 's/\.dsc//'`
35  if [ "$igdsc" -nt $webtopdir/installmanual/etch.log ]; then  for dist in etch lenny; do
36          echo "extracting installation-guide source..." >> $crondir/lessoften.log          if [ "$igdsc" -nt $webtopdir/installmanual/$dist.log ]; then
37          [ -d "$igdir" ] && rm -fr "$igdir"                  echo "extracting installation-guide source..." >> $crondir/lessoften.log
38          dpkg-source -sn -x "$igdsc" >> $crondir/lessoften.log                  [ -d "$igdir" ] && rm -fr "$igdir"
39          if [ -d "$igdir" ]; then                  dpkg-source -sn -x "$igdsc" >> $crondir/lessoften.log
40                  echo "building installation-guide for etch..." >> $crondir/lessoften.log                  if [ -d "$igdir" ]; then
41                  cd $igdir/build &&                          echo "building installation-guide for $dist..." >> $crondir/lessoften.log
42                          manual_release=etch destination=$webtopdir/installmanual/etch/ ./buildweb.sh > $webtopdir/installmanual/etch.log 2>&1                          cd $igdir/build &&
43                                    manual_release=$dist destination=$webtopdir/installmanual/$dist/ ./buildweb.sh > $webtopdir/installmanual/$dist.log 2>&1
44                    fi
45            else
46                    echo no new installation-guide for $dist, skipping build >> $crondir/lessoften.log
47          fi          fi
48  else  done
         echo no new installation-guide for etch, skipping build >> $crondir/lessoften.log  
 fi  
49    
50  for dist in sarge etch; do  for dist in sarge etch lenny; do
51          echo "copying $dist installmanual in place..." >> $crondir/lessoften.log          echo "copying $dist installmanual in place..." >> $crondir/lessoften.log
52          cp -a $webtopdir/installmanual/$dist/* $webdir/releases/$dist/          cp -a $webtopdir/installmanual/$dist/* $webdir/releases/$dist/
53  done  done

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

  ViewVC Help
Powered by ViewVC 1.1.5