瀏覽代碼

fix(ssh-ident): Just copy the patched ssh-ident at the end

Signed-off-by: Jeremy MAURO <jeremy.mauro@gmail.com>
Jeremy MAURO 2 年之前
父節點
當前提交
e60fd0529a
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      cookbooks/workstation/recipes/_ssh-ident.rb

+ 3 - 3
cookbooks/workstation/recipes/_ssh-ident.rb

@@ -35,8 +35,8 @@ patch_files.each do |patch_file|
     cwd ssh_ident_repo
     only_if "/usr/bin/git apply #{patch_file} --check"
   end
+end
 
-  execute "/usr/bin/install #{ssh_ident_bin} /usr/sbin/ssh-ident" do
-    not_if { ::FileUtils.uptodate?('/usr/sbin/ssh-ident', [ssh_ident_bin]) }
-  end
+execute "/usr/bin/install #{ssh_ident_bin} /usr/sbin/ssh-ident" do
+  not_if { ::FileUtils.uptodate?('/usr/sbin/ssh-ident', [ssh_ident_bin]) }
 end