|
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:
229 bytes
|
| Line | |
|---|
| 1 | #!/bin/bash |
|---|
| 2 | |
|---|
| 3 | if [ -d /Applications/tahoe.app ]; then |
|---|
| 4 | rm -r /Applications/tahoe.app |
|---|
| 5 | fi |
|---|
| 6 | |
|---|
| 7 | if [ -f /etc/paths.d/tahoe ]; then |
|---|
| 8 | rm /etc/paths.d/tahoe |
|---|
| 9 | fi |
|---|
| 10 | |
|---|
| 11 | if [ -f /etc/manpaths.d/tahoe.1 ]; then |
|---|
| 12 | rm /etc/manpaths.d/tahoe.1 |
|---|
| 13 | fi |
|---|
Note: See
TracBrowser
for help on using the repository browser.