jiedongnyu / git-osx-installer

Automatically exported from code.google.com/p/git-osx-installer
0 stars 0 forks source link

wrong path of some man folders #36

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The problem is in the installation pakage.
The installer puts some folders on the wrong path.
man1, man5 and man7 was installed in the path: /usr/local/git/man rather that 
/usr/local/git/share/man
Move these folders and everything will work fine.

Original issue reported on code.google.com by Saxint...@gmail.com on 4 Sep 2009 at 9:49

GoogleCodeExporter commented 9 years ago
What isn't working ?

The installer ships with a file to add /usr/local/git/man to the MANPATH.  I 
could
see an argument that /usr/local/git/share/man would be more syntactically 
correct,
but I do not see it failing to function properly.

Original comment by timchar...@gmail.com on 8 Sep 2009 at 6:47

GoogleCodeExporter commented 9 years ago
After installing the pkg, cmd like "man git" or "git help tag" will fail:
If you move man1, man5 and man7 on the right path, everything will work fine.
Since 10.2 (I believe) the MANPATH variable has been deprecated because it is 
now generated dynamically from 
the PATH variable and /etc/man.conf.
(sorry for my poor english)
Hi

Original comment by Saxint...@gmail.com on 8 Sep 2009 at 9:14

GoogleCodeExporter commented 9 years ago
+1. I used the comments above to solve the current botched man page install.

Original comment by djames%s...@gtempaccount.com on 10 Sep 2009 at 12:35

GoogleCodeExporter commented 9 years ago
Does leopard not use /etc/manpaths.d/ ?

why does moving it from /usr/local/git/man to /usr/local/share/git/man fix 
anything?  It still wouldn't be in 
your MANPATH.

Original comment by timchar...@gmail.com on 11 Sep 2009 at 4:14

GoogleCodeExporter commented 9 years ago
timcharper: the MANPATH has been depreciated in favour of dynamically getting 
the
path for man pages based on the normal PATH variable in leopard it seems. So
/usr/local/git/share/man will need to be used on future installs otherwise it 
just
won't work. Basically it's ignoring your /etc/manpaths.d/git file.

Original comment by sheldon....@gmail.com on 11 Sep 2009 at 11:31

GoogleCodeExporter commented 9 years ago
I've just submitted a patch to fix this on github. feel free to merge it if you 
like
:) http://github.com/Sheldon/git_osx_installer/tree/master

Original comment by sheldon....@gmail.com on 11 Sep 2009 at 11:39

GoogleCodeExporter commented 9 years ago
Thanks Sheldon, the changes have been incorporated the installed and the latest 
installer should resolve the 
issues.

Original comment by timchar...@gmail.com on 17 Sep 2009 at 7:26