Changeset 2534


Ignore:
Timestamp:
Dec 4, 2011, 4:00:24 PM (8 years ago)
Author:
komodo
Message:

adapt script d'update global

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/branches/senat/project/bin/loadupdate

    r2407 r2534  
    1919jo=1
    2020questions=1
    21 while getopts "hdjqo-:" option
     21while getopts "hsjqo-:" option
    2222do
    2323  if [ $option = "-" ]; then
     
    6969echo Hemicycles
    7070echo =======================
    71 cd batch/hemicycle ; bash compute_latest.sh ; cd -
     71cd batch/hemicycle ; bash compute_hemicycle.sh ; cd -
    7272echo Commissions
    7373echo =======================
    7474cd batch/commission ; bash compute_latest.sh ; cd -
    75 echo Amendements
     75echo Amendements et Documents
     76echo =======================
     77cd batch ; perl download_elements_dossiers.pl ; cd -
     78echo Parse amendements
    7679echo =======================
    7780cd batch/amendements ; bash compute_latest.sh ; cd -
     81echo Parse documents
     82echo =======================
     83cd batch/documents ; bash compute_latest.sh ; cd -
    7884if [[ $questions -ne 0 ]]; then
    7985  echo Questions
     
    8793  cd -
    8894fi
    89 echo Rapports et Textes de lois
    90 echo ==========================
    91 cd batch/documents
    92 if [[ $questions -eq 2 ]]; then
    93   bash reload_latest_ppl.sh
    94 fi
    95 bash compute_latest.sh
    96 cd -
    97 
    9895
    9996# Vérification des JSON
Note: See TracChangeset for help on using the changeset viewer.