tahoe-lafs/misc/build_helpers/osx/scripts/postinstall
Ramakrishnan Muthukrishnan e92a9774fa 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@leastauthority.com>
2015-09-03 15:18:08 +01:00

9 lines
190 B
Bash
Executable File

#!/bin/bash
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