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:
@@ -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}/
|
||||
|
||||
Reference in New Issue
Block a user