Removed dead code.

As the downloadable files are now hosted on haiku-files.org and the user is
presented the Intel license at the beginning of the script, the  function
OpenIntelFirmwareWebpage is unneeded.
This commit is contained in:
Matt Madia
2012-06-17 16:29:38 -04:00
parent e8fc340a30
commit a8c2e97934
+1 -16
View File
@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (c) 2010 Haiku, Inc.
# Copyright (c) 2010-2012 Haiku, Inc.
# Distributed under the terms of the MIT License.
#
# Authors:
@@ -123,21 +123,6 @@ function DownloadFileIfNotCached()
}
function OpenIntelFirmwareWebpage()
{
# OpenIntelFirmwareWebpage <url> <file>
local url="$1"
local file="$2"
echo "Downloading $file ..."
alert --info "A webpage is going to open. Download and save $file in ${firmwareDir}/${driver}/"
open "$url"
alert --info "Click OK after the $file has been saved in ${firmwareDir}/${driver}/"
}
function SetFirmwarePermissions()
{
cd ${firmwareDir}/${driver}/