github.com/khulnasoft-lab/khulnasoft@v26.0.1-0.20240328202558-330a6f959fe0+incompatible/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