mount, 9pfuse: detect macports installed osxfuse
MacPorts installs osxfuse under /opt/local.
This commit is contained in:
parent
4ebaf18e92
commit
a5b24c22a8
2 changed files with 9 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ case Darwin
|
|||
test -d /System/Library/Extensions/fusefs.kext ||
|
||||
test -d /Library/Filesystems/osxfuse.fs/Contents/Extensions/$version/osxfuse.kext ||
|
||||
test -d /Library/Filesystems/osxfusefs.fs/Support/osxfusefs.kext ||
|
||||
test -d /opt/local/Library/Filesystems/osxfuse.fs ||
|
||||
test -d /Library/Filesystems/fusefs.fs/Support/fusefs.kext)
|
||||
exec 9pfuse $1 $2
|
||||
echo 'don''t know how to mount (no fuse)' >[1=2]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue