Make sure ~git/.ssh exists in gitosis-init.

This commit is contained in:
Tommi Virtanen 2007-09-03 21:58:01 -07:00
parent e7a1cc68c7
commit 4d793f6fd4

View file

@ -135,6 +135,7 @@ class Main(app.App):
user=user, user=user,
) )
log.info('Running post-update hook...') log.info('Running post-update hook...')
util.mkdir(os.path.expanduser('~/.ssh'), 0700)
run_hook.post_update(cfg=cfg, git_dir=admin_repository) run_hook.post_update(cfg=cfg, git_dir=admin_repository)
log.info('Symlinking ~/.gitosis.conf to repository...') log.info('Symlinking ~/.gitosis.conf to repository...')
symlink_config(git_dir=admin_repository) symlink_config(git_dir=admin_repository)