From 6bab779d41fa81ae544f795a1f9af8344c35427a Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 11 Nov 2016 03:50:16 -0500 Subject: remove things that now live elsewhere --- misc/git-hooks/hackers-update | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100755 misc/git-hooks/hackers-update (limited to 'misc/git-hooks/hackers-update') diff --git a/misc/git-hooks/hackers-update b/misc/git-hooks/hackers-update deleted file mode 100755 index b78c54d..0000000 --- a/misc/git-hooks/hackers-update +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash -# post-receive hook, updates /srv/git/.ssh after pushing to this repo -# install: -# git clone hackers.git .ssh -# cp .ssh/git-hooks/post-receive hackers.git/hooks/ - -# fail on any error -set -e - -# the ssh dir -ssh_dir=${HOME}/.ssh - -# pull this repo -git --git-dir ${ssh_dir}/.git \ - --work-tree ${ssh_dir} \ - pull origin master - -# secure the files (sshd will refuse connections otherwise) -chmod 600 ${ssh_dir}/authorized_keys -chmod 700 ${ssh_dir} - -exit $? -- cgit v1.2.3-54-g00ecf