fix univnautes-update-map.sh
This commit is contained in:
parent
136d064b1d
commit
c037494988
|
@ -32,9 +32,9 @@ mkdir -p $GEODIR
|
||||||
GEOFILES=""
|
GEOFILES=""
|
||||||
|
|
||||||
# build urls list from file
|
# 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 file is empty, use default urls (renater federation)
|
||||||
if [ -n "$GEOURLS" ]
|
if [ -z "$GEOURLS" ]
|
||||||
then
|
then
|
||||||
GEOURLS="https://static.discojuice.org/feeds/renater http://isos.univnautes.entrouvert.com/univnautes.geo"
|
GEOURLS="https://static.discojuice.org/feeds/renater http://isos.univnautes.entrouvert.com/univnautes.geo"
|
||||||
fi
|
fi
|
||||||
|
|
Reference in New Issue