how to install gitosis in my book live?

1) create a user in webpage, named it "gitosis" + private share.
2) vi /etc/passwd
3) ipkg install gitosis
4) sudo -H -u gitosis /opt/bin/gitosis-init < /tmp/


Traceback (most recent call last):
File "/opt/bin/gitosis-init", line 8, in <module>
load_entry_point('gitosis==0.2', 'console_scripts', 'gitosis-init')()
File "/opt/lib/python2.5/site-packages/gitosis/", line 24, in run
return app.main()
File "/opt/lib/python2.5/site-packages/gitosis/", line 38, in main
self.handle_args(parser, cfg, options, args)
File "/opt/lib/python2.5/site-packages/gitosis/", line 136, in handle_args
File "/opt/lib/python2.5/site-packages/gitosis/", line 75, in init_admin_repository
template=resource_filename('gitosis.templates', 'admin')
File "/opt/lib/python2.5/site-packages/gitosis/", line 51, in init
File "/opt/lib/python2.5/", line 444, in call
return Popen(*popenargs, **kwargs).wait()
File "/opt/lib/python2.5/", line 594, in init
errread, errwrite)
File "/opt/lib/python2.5/", line 1097, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License