Make sure ~git/.ssh exists in gitosis-init.
This commit is contained in:
parent
e7a1cc68c7
commit
4d793f6fd4
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue