don't need this anymore
change
commit 57e4068682df4cae255a2dcae4648e635c7cdc38
author Alpha Chen <alpha@kejadlen.dev>
date
parent a46b0456
diff --git a/scripts/setup_ssh_keys.rb b/scripts/setup_ssh_keys.rb
deleted file mode 100644
index dffc6da2..00000000
--- a/scripts/setup_ssh_keys.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-require 'fileutils'
-
-include FileUtils
-
-def with_mount(image)
-  out = `hdiutil mount #{image}`
-  mountpoint = out.split(/\s+/).last
-  yield(mountpoint)
-ensure
-  puts `hdiutil unmount #{mountpoint}`
-end
-
-cd File.expand_path('~/.ssh')
-
-with_mount "~/Dropbox/sekritz.sparseimage" do |mountpoint|
-  from = Dir["#{mountpoint}/ssh keys/*"]
-  to = from.map {|file| File.basename(file) }
-  from.zip(to).each do |from, to|
-    next if File.exist?(to)
-
-    cp from, to
-    puts `chmod go-r #{to}`
-    puts `ssh-add -K #{to}`
-  end
-end