github.com/jfrazelle/docker@v1.1.2-0.20210712172922-bf78e25fe508/libnetwork/support/run.sh (about)

     1  #!/bin/sh
     2  
     3  # try to fetch the latest version from github
     4  wget -O support.sh.new https://raw.githubusercontent.com/docker/libnetwork/master/support/support.sh
     5  
     6  if [ "$?" -eq "0" ]; then
     7  	mv support.sh.new support.sh
     8  	chmod +x support.sh
     9  else
    10  	echo "issue fetching the latest support.sh, will use the container version"
    11  fi
    12  
    13  echo "run the support script"
    14  ./support.sh