mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-25 23:51:07 +00:00
e92a9774fa
The preinstall script detects previous installation and removes it. Author: Ramakrishnan Muthukrishnan <ram@leastauthority.com>
13 lines
229 B
Bash
Executable File
13 lines
229 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ -d /Applications/tahoe.app ]; then
|
|
rm -r /Applications/tahoe.app
|
|
fi
|
|
|
|
if [ -f /etc/paths.d/tahoe ]; then
|
|
rm /etc/paths.d/tahoe
|
|
fi
|
|
|
|
if [ -f /etc/manpaths.d/tahoe.1 ]; then
|
|
rm /etc/manpaths.d/tahoe.1
|
|
fi |