/[gentoo]/src/packages/run.sh
Gentoo

Contents of /src/packages/run.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.2.1 - (hide annotations) (download) (as text)
Sat Jan 6 01:13:34 2007 UTC (10 years, 11 months ago) by marduk
Branch: v1_3
Changes since 1.1: +19 -0 lines
File MIME type: text/x-sh
Script to update database/pages.  To be run via cron scheduler.

1 marduk 1.1.2.1 #!/bin/sh
2    
3     PYTHONPATH="$(dirname $0):$PYTHONPATH"
4     export PYTHONPATH
5     TZ="UTC"
6     export TZ
7    
8     DOCS=$(python -c 'import config; print config.LOCALHOME')
9     LIB=$(python -c 'import config; print config.FELIB')
10    
11     rm -f ${DOCS}/ebuilds/*-*.html 2> /dev/null
12     $LIB/purge_db.py
13     $LIB/gentoo.py -g
14     $LIB/weeks.py > ${DOCS}/weeks.html
15     $LIB/categories2.py > ${DOCS}/categories/main.shtml
16     $LIB/new_ebuilds.py > ${DOCS}/new/main.shtml
17     $LIB/new_ebuilds.py bumps > ${DOCS}/bumps/main.shtml
18     $LIB/new_ebuilds.py rss > ${DOCS}/feeds/new.rss
19     #/bin/nice ~/freshebuilds/lib/genxml.py

  ViewVC Help
Powered by ViewVC 1.1.20