fix univnautes-update-map.sh
This commit is contained in:
parent
136d064b1d
commit
c037494988
|
@ -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
|
||||
|
|
Reference in New Issue