troubleshoot Terminus font download in CI environment
This commit is contained in:
@@ -214,6 +214,7 @@ if [ -d djgpp/target ]; then
|
|||||||
cd ../../
|
cd ../../
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
set -x
|
||||||
|
|
||||||
FONT_VERSION="4.49"
|
FONT_VERSION="4.49"
|
||||||
FONT_FILE="terminus-font-$FONT_VERSION"
|
FONT_FILE="terminus-font-$FONT_VERSION"
|
||||||
@@ -228,13 +229,15 @@ if [ ! -d "$FONT_LFILE" ]; then
|
|||||||
#Mac
|
#Mac
|
||||||
curl -L $FONT_URL --output $FONT_RFILE
|
curl -L $FONT_URL --output $FONT_RFILE
|
||||||
else
|
else
|
||||||
wget --quiet --no-hsts $FONT_URL
|
# wget --quiet --no-hsts $FONT_URL
|
||||||
|
curl -L $FONT_URL --output $FONT_RFILE
|
||||||
fi
|
fi
|
||||||
tar -xvf $FONT_RFILE
|
tar -xvf $FONT_RFILE
|
||||||
rm $FONT_RFILE
|
rm $FONT_RFILE
|
||||||
else
|
else
|
||||||
echo "terminus fonts are already available in lib/$FONT_LFILE"
|
echo "terminus fonts are already available in lib/$FONT_LFILE"
|
||||||
fi
|
fi
|
||||||
|
set +x
|
||||||
|
|
||||||
cd ../
|
cd ../
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user