diff options
Diffstat (limited to 'DownloadCygWinContribBinaries.sh')
-rw-r--r-- | DownloadCygWinContribBinaries.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/DownloadCygWinContribBinaries.sh b/DownloadCygWinContribBinaries.sh new file mode 100644 index 000000000..df4b78fdd --- /dev/null +++ b/DownloadCygWinContribBinaries.sh @@ -0,0 +1,18 @@ +#! /bin/sh + + +HOST=http://download.m0k.org +FILE=contribbin-cygwin-0001.tar.gz +URL=$HOST/handbrake/contrib/$FILE +# Check for internet connectivity +#if ! host $HOST > /dev/null 2>&1; then +# echo "Please connect to the Internet (could not resolve $HOST)." +# exit 1 +#fi + +# Get and install the package +echo "Getting contribs ($VERSION)..." +( cd contrib && rm -f contribbin-cygwin-0001.tar.gz && wget $URL && rm -Rf lib include && tar xzf contribbin-cygwin-0001.tar.gz && ranlib lib/*.a ) || exit 1 + +exit 0 + |