diff options
author | Tommi Virtanen <tv@eagain.net> | 2007-09-03 21:58:01 -0700 |
---|---|---|
committer | Tommi Virtanen <tv@eagain.net> | 2007-09-03 22:06:37 -0700 |
commit | 4d793f6fd44e671c13ca0e0b82be3ac33ee7a599 (patch) | |
tree | 34e0d39d81f48c40ac230a289aa323f494852db9 | |
parent | Let SSH public key user fields have a bit more varied content. (diff) | |
download | gitosis-gentoo-4d793f6fd44e671c13ca0e0b82be3ac33ee7a599.tar.gz gitosis-gentoo-4d793f6fd44e671c13ca0e0b82be3ac33ee7a599.tar.bz2 gitosis-gentoo-4d793f6fd44e671c13ca0e0b82be3ac33ee7a599.zip |
Make sure ~git/.ssh exists in gitosis-init.
-rw-r--r-- | gitosis/init.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gitosis/init.py b/gitosis/init.py index 7ba04cd..2155f81 100644 --- a/gitosis/init.py +++ b/gitosis/init.py @@ -135,6 +135,7 @@ class Main(app.App): user=user, ) log.info('Running post-update hook...') + util.mkdir(os.path.expanduser('~/.ssh'), 0700) run_hook.post_update(cfg=cfg, git_dir=admin_repository) log.info('Symlinking ~/.gitosis.conf to repository...') symlink_config(git_dir=admin_repository) |