mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-02-21 16:46:23 +00:00
a1ead0634efec239f5d56f706c9a6bb4252f21d0
using double pipe "||", bash will continue to the next statement if the first statement returns false or has an error. Using the -N option, wget will overwrite the file if it is newer. So, if the -O option was used, and both wget commands failed (both http and https were down) then wget would overwrite the file with a 0 byte copy and effectively delete it. -N works better in this case, since wget will not overwrite it with an empty file if it can't download it.
Description
Languages
Shell
97.1%
Dockerfile
2.3%
Mermaid
0.6%