Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32159444
install_homebrew_deps.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
324 B
Referenced Files
None
Subscribers
None
install_homebrew_deps.sh
View Options
#!/usr/bin/env bash
set
-euo
pipefail
if
!
command
-v
brew
>/dev/null
;
then
echo
"Homebrew is required to run this script"
>
&
2
exit
1
fi
install_if_missing
()
{
local
package
=
"
$1
"
if
!
command
-v
"
$package
"
>/dev/null
;
then
brew
install
"
$package
"
fi
}
for
dep
in
"
$@
"
;
do
install_if_missing
"
$dep
"
done
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Sun, Dec 7, 4:32 PM (1 d, 19 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5365615
Default Alt Text
install_homebrew_deps.sh (324 B)
Attached To
Mode
rCOMM Comm
Attached
Detach File
Event Timeline
Log In to Comment