From 89faf1c32f84936b7b06cf9168748f5bc1895bba Mon Sep 17 00:00:00 2001 From: wener Date: Sun, 27 Mar 2016 13:59:47 +0800 Subject: [PATCH 1/2] Update sshrc 0.6, add moshrc --- Library/Formula/sshrc.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Library/Formula/sshrc.rb b/Library/Formula/sshrc.rb index 62ca6e452123..bd4d2b948ae3 100644 --- a/Library/Formula/sshrc.rb +++ b/Library/Formula/sshrc.rb @@ -1,8 +1,8 @@ class Sshrc < Formula desc "Bring your .bashrc, .vimrc, etc. with you when you SSH" homepage "https://github.com/Russell91/sshrc" - url "https://github.com/Russell91/sshrc/archive/0.5.tar.gz" - sha256 "4592df6fc2987adbbce84dbe305d9b769f7177a545122295629ce2fb61ecbba3" + url "https://github.com/Russell91/sshrc/archive/0.6.tar.gz" + sha256 "3ef0da05883921632b6faed391672080bfffc7efd238be4d128ef1b23c62949b" head "https://github.com/Russell91/sshrc.git" @@ -10,6 +10,7 @@ class Sshrc < Formula def install bin.install "sshrc" + bin.install "moshrc" end test do From fb65456fb6613bf595886f320486bcbb8b5be371 Mon Sep 17 00:00:00 2001 From: wenerme Date: Sun, 27 Mar 2016 20:13:50 +0800 Subject: [PATCH 2/2] Use single line bin.install --- Library/Formula/sshrc.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Formula/sshrc.rb b/Library/Formula/sshrc.rb index bd4d2b948ae3..78c7161e51b2 100644 --- a/Library/Formula/sshrc.rb +++ b/Library/Formula/sshrc.rb @@ -9,8 +9,7 @@ class Sshrc < Formula bottle :unneeded def install - bin.install "sshrc" - bin.install "moshrc" + bin.install %w[sshrc moshrc] end test do