From 7206bfe8c3431a538dc1e5241f0a278558ebdf0d Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Wed, 30 Jan 2019 13:19:50 +0000 Subject: [PATCH] Improve hostname check --- Brewfile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Brewfile b/Brewfile index 8e7028a..c4200f4 100644 --- a/Brewfile +++ b/Brewfile @@ -1,5 +1,10 @@ # rubocop:disable Naming/FileName +# +# Setup +# + +hostname = `hostname -s`.strip cask_args appdir: '/Applications' tap 'homebrew/cask' tap 'homebrew/cask-drivers' @@ -139,8 +144,8 @@ cask 'vagrant' cask 'virtualbox' cask 'visual-studio-code' -# Personal Apps -if `hostname -s`.strip == 'noct' +# noct +if hostname == 'noct' brew 'ffmpeg', args: [ 'with-chromaprint', 'with-fdk-aac',