Consistently use curl instead of wget

This commit is contained in:
Geoff Bourne
2018-06-25 19:13:47 -05:00
parent 4ff14fbf61
commit 4192bea3ab
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ fi
if [ -n "$ICON" -a ! -e server-icon.png ]; then
echo "Using server icon from $ICON..."
# Not sure what it is yet...call it "img"
wget -q -O /tmp/icon.img $ICON
curl -sSL -o /tmp/icon.img $ICON
specs=$(identify /tmp/icon.img | awk '{print $2,$3}')
if [ "$specs" = "PNG 64x64" ]; then
mv /tmp/icon.img /data/server-icon.png