mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
5de876c7ae
Before running the support script try to fetch the latest version Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com>
14 lines
368 B
Bash
Executable file
14 lines
368 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
|