diff options
-rwxr-xr-x | src/Setup/MacOSX/postinstall.sh | 8 | ||||
-rwxr-xr-x | src/Setup/MacOSX/veracrypt.pkgproj | 4 | ||||
-rwxr-xr-x | src/Setup/MacOSX/veracrypt_Legacy.pkgproj | 4 |
3 files changed, 14 insertions, 2 deletions
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 @@ <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> 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 @@ <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> |