diff options
Diffstat (limited to 'pkg/osx/install')
-rwxr-xr-x | pkg/osx/install/install-leapc.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkg/osx/install/install-leapc.sh b/pkg/osx/install/install-leapc.sh index 7a0d3a5e..a2435adf 100755 --- a/pkg/osx/install/install-leapc.sh +++ b/pkg/osx/install/install-leapc.sh @@ -5,6 +5,13 @@ cp -r "LEAP Client.app" "/Applications" echo "Copying openvpn binary" cp -r openvpn.leap /usr/bin +echo "Installing gnutls" +mkdir -p /opt/local/lib +mv -f "/Applications/LEAP Client.app/Contents/MacOS/libgnutls.26.dylib" /opt/local/lib +mv -f "/Applications/LEAP Client.app/Contents/MacOS/libgnutls-extra.26.dylib" /opt/local/lib +ln -sf /opt/local/lib/libgnutls.26.dylib /opt/local/lib/libgnutls.dylib +ln -sf /opt/local/lib/libgnutls-extra.26.dylib /opt/local/lib/libgnutls-extra.dylib + echo "Installing tun/tap drivers" cp -r Extensions/* /Library/Extensions @@ -15,4 +22,4 @@ echo "Loading tun/tap kernel extension" echo "Installation Finished!" -open /Applications/LEAP\ Client.app/ +ln -s /Applications/LEAP\ Client.app/ /Volumes/LEAP\ Client\ installer/ |