diff --git a/src/Setup/MacOSX/postinstall.sh b/src/Setup/MacOSX/postinstall.sh new file mode 100755 index 00000000..7ce14ffc --- /dev/null +++ b/src/Setup/MacOSX/postinstall.sh @@ -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 diff --git a/src/Setup/MacOSX/veracrypt.pkgproj b/src/Setup/MacOSX/veracrypt.pkgproj index 22a2450e..0911e7b2 100755 --- a/src/Setup/MacOSX/veracrypt.pkgproj +++ b/src/Setup/MacOSX/veracrypt.pkgproj @@ -519,8 +519,10 @@ POSTINSTALL_PATH + PATH + postinstall.sh PATH_TYPE - 0 + 1 PREINSTALL_PATH diff --git a/src/Setup/MacOSX/veracrypt_Legacy.pkgproj b/src/Setup/MacOSX/veracrypt_Legacy.pkgproj index 2bfbdbd8..fa4388f4 100755 --- a/src/Setup/MacOSX/veracrypt_Legacy.pkgproj +++ b/src/Setup/MacOSX/veracrypt_Legacy.pkgproj @@ -519,8 +519,10 @@ POSTINSTALL_PATH + PATH + postinstall.sh PATH_TYPE - 0 + 1 PREINSTALL_PATH