From b623e485182d7d7f12a2b264c6ca0c2800c99d13 Mon Sep 17 00:00:00 2001 From: Miccal Matthews Date: Tue, 24 Jan 2017 13:59:30 +0800 Subject: [PATCH] Update adobe-photoshop-cs6.rb (#3183) Update adobe-photoshop-cs6 to use `system_command`. --- Casks/adobe-photoshop-cs6.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Casks/adobe-photoshop-cs6.rb b/Casks/adobe-photoshop-cs6.rb index 01889fb4f..0fa06227f 100644 --- a/Casks/adobe-photoshop-cs6.rb +++ b/Casks/adobe-photoshop-cs6.rb @@ -15,7 +15,8 @@ cask 'adobe-photoshop-cs6' do args: ['--mode=silent', "--deploymentFile=#{staged_path}/#{name.join}/Deployment/en_US_Deployment.xml"] preflight do - system '/usr/bin/killall', '-kill', 'SafariNotificationAgent' + system_command '/usr/bin/killall', + args: ['-kill', 'SafariNotificationAgent'] end uninstall_preflight do