fix univnautes-update-map.sh

This commit is contained in:
Thomas NOËL 2013-03-22 12:15:24 +01:00
parent 136d064b1d
commit c037494988
1 changed files with 2 additions and 2 deletions

View File

@ -32,9 +32,9 @@ mkdir -p $GEODIR
GEOFILES=""
# build urls list from file
GEOURLS=`cat $GEOURLS | tr -d ^M | xargs`
GEOURLS=`cat $GEOURLS 2> /dev/null | tr -d ^M | xargs`
# if file is empty, use default urls (renater federation)
if [ -n "$GEOURLS" ]
if [ -z "$GEOURLS" ]
then
GEOURLS="https://static.discojuice.org/feeds/renater http://isos.univnautes.entrouvert.com/univnautes.geo"
fi