Improve hostname check

This commit is contained in:
2019-01-30 13:19:50 +00:00
parent 1c5a3437e8
commit 7206bfe8c3

View File

@@ -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',