#!/bin/sh ./build.sh || exit 1 curl -o seances.xml 'http://www.citebd.org/IMG/xml/allocineseances-4.xml' || exit 1 mkdir -p cite ./scrap seances.xml 0 0 0 >cite/index.html || exit 1 ./scrap seances.xml 1 0 1 >cite/nofr.html || exit 1 ./scrap seances.xml 0 1 1 >cite/boring.html || exit 1 ./scrap seances.xml 1 1 1 >cite/boringnofr.html || exit 1 ssh root@kdx.re "rm -rf /var/www/html/cite" scp -r cite root@kdx.re:/var/www/html