telerama-rss: fetch all script

This commit is contained in:
X-dark 2024-06-12 16:47:47 +02:00
parent 16b8af5839
commit d369e26a49

View file

@ -0,0 +1,8 @@
#!/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