github.com/pwn-term/docker@v0.0.0-20210616085119-6e977cce2565/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