2018-06-20 18:29:45 -04:00
|
|
|
#!/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
|
2021-05-27 20:15:56 -04:00
|
|
|
mv support.sh.new support.sh
|
|
|
|
chmod +x support.sh
|
2018-06-20 18:29:45 -04:00
|
|
|
else
|
2021-05-27 20:15:56 -04:00
|
|
|
echo "issue fetching the latest support.sh, will use the container version"
|
2018-06-20 18:29:45 -04:00
|
|
|
fi
|
|
|
|
|
|
|
|
echo "run the support script"
|
|
|
|
./support.sh
|