source: trunk/misc/build_helpers/osx/scripts/postinstall

Last change on this file was e92a9774, checked in by Daira Hopwood <daira@…>, at 2015-09-03T14:18:08Z

OS-X package: add a preinstall script and copy the manpage into /etc/manpaths.d.

The preinstall script detects previous installation and removes it.

Author: Ramakrishnan Muthukrishnan <ram@…>

  • Property mode set to 100755
File size: 190 bytes
Line 
1#!/bin/bash
2
3PWD=`pwd`
4
5echo "/Applications/tahoe.app/bin/" >> /etc/paths.d/tahoe
6
7# copy the manpage into /etc/manpaths.d/
8echo "/Applications/tahoe.app/docs/man/" >> /etc/manpaths.d/tahoe
Note: See TracBrowser for help on using the repository browser.