macOS: During install, set libfuse.2.dylib as symbolic link to libosxfuse.2.dylib if it doesn't already exist

This commit is contained in:
Mounir IDRASSI 2021-08-22 20:15:00 +02:00
parent 7df5a58adc
commit 3ac533860c
No known key found for this signature in database
GPG Key ID: 02C30AE90FAE4A6F
3 changed files with 14 additions and 2 deletions

View File

@ -0,0 +1,8 @@
#!/bin/bash
if !([ -e "/usr/local/lib/libfuse.2.dylib" ])
then
ln -s /usr/local/lib/libosxfuse.2.dylib /usr/local/lib/libfuse.2.dylib
fi
exit 0

View File

@ -519,8 +519,10 @@
<dict>
<key>POSTINSTALL_PATH</key>
<dict>
<key>PATH</key>
<string>postinstall.sh</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<integer>1</integer>
</dict>
<key>PREINSTALL_PATH</key>
<dict>

View File

@ -519,8 +519,10 @@
<dict>
<key>POSTINSTALL_PATH</key>
<dict>
<key>PATH</key>
<string>postinstall.sh</string>
<key>PATH_TYPE</key>
<integer>0</integer>
<integer>1</integer>
</dict>
<key>PREINSTALL_PATH</key>
<dict>