valinor-dockerfiles/telerama-rss/telerama-fetch-all.sh

8 lines
No EOL
277 B
Bash

#!/bin/bash
SCRIPT=/telerama-rss.pl
for category in {'une','cinema','ecrans','enfants','sortir','musique','radio','livre','debats-reportages'} ; do
export TELERAMA_RSSFILE="/usr/share/nginx/html/telerama_${category}.rss"
export TELERAMA_CATEGORY=${category}
$SCRIPT
done