From a8c2e97934b5167dc3143ca60f63c0a1b60606a5 Mon Sep 17 00:00:00 2001 From: Matt Madia Date: Sun, 17 Jun 2012 16:29:38 -0400 Subject: [PATCH] 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. --- data/bin/install-wifi-firmwares.sh | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/data/bin/install-wifi-firmwares.sh b/data/bin/install-wifi-firmwares.sh index 47ac81fa10..e7c8abc8f4 100755 --- a/data/bin/install-wifi-firmwares.sh +++ b/data/bin/install-wifi-firmwares.sh @@ -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 - 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}/