moby/libnetwork/support/run.sh
Brian Goff 4b981436fe Fixup libnetwork lint errors
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2021-06-01 23:48:32 +00:00

14 lines
365 B
Bash
Executable file

#!/bin/sh
# try to fetch the latest version from github
wget -O support.sh.new https://raw.githubusercontent.com/docker/libnetwork/master/support/support.sh
if [ "$?" -eq "0" ]; then
mv support.sh.new support.sh
chmod +x support.sh
else
echo "issue fetching the latest support.sh, will use the container version"
fi
echo "run the support script"
./support.sh