]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/blobdiff - misc/build_helpers/osx/scripts/postinstall
OS-X package: add a preinstall script and copy the manpage into /etc/manpaths.d.
[tahoe-lafs/tahoe-lafs.git] / misc / build_helpers / osx / scripts / postinstall
index aefc4fd316b2dcc15e4d93fccc3b76479d043b00..480426184dedd8b1a43bac507d5a25a7fe3f6bcb 100755 (executable)
@@ -1,3 +1,8 @@
 #!/bin/bash
 
-echo "/Applications/tahoe.app/bin" >> /etc/paths.d/tahoe
+PWD=`pwd`
+
+echo "/Applications/tahoe.app/bin/" >> /etc/paths.d/tahoe
+
+# copy the manpage into /etc/manpaths.d/
+echo "/Applications/tahoe.app/docs/man/" >> /etc/manpaths.d/tahoe