summaryrefslogtreecommitdiffhomepage
path: root/dist-assets/pkg-scripts
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2019-07-04 16:47:35 +0200
committerLinus Färnstrand <linus@mullvad.net>2019-07-04 16:59:07 +0200
commit20736c213798cdc6df9e58005cd61b2402ca6a36 (patch)
treeb388190e3b8d4f8de9884bc682136087df1e64a0 /dist-assets/pkg-scripts
parentf23a3582e7b44b71f3d624617e65041d13a36606 (diff)
downloadmullvadvpn-20736c213798cdc6df9e58005cd61b2402ca6a36.tar.xz
mullvadvpn-20736c213798cdc6df9e58005cd61b2402ca6a36.zip
Make symlinks in /usr/local/bin
Diffstat (limited to 'dist-assets/pkg-scripts')
-rwxr-xr-xdist-assets/pkg-scripts/postinstall4
1 files changed, 4 insertions, 0 deletions
diff --git a/dist-assets/pkg-scripts/postinstall b/dist-assets/pkg-scripts/postinstall
index 3b784506e5..e8229e5f3d 100755
--- a/dist-assets/pkg-scripts/postinstall
+++ b/dist-assets/pkg-scripts/postinstall
@@ -53,3 +53,7 @@ sleep 1
launchctl unload -w $DAEMON_PLIST_PATH
echo "$DAEMON_PLIST" > $DAEMON_PLIST_PATH
launchctl load -w $DAEMON_PLIST_PATH
+
+mkdir -p /usr/local/bin
+ln -sf "$INSTALL_DIR/Mullvad VPN.app/Contents/Resources/mullvad" /usr/local/bin/mullvad
+ln -sf "$INSTALL_DIR/Mullvad VPN.app/Contents/Resources/problem-report" /usr/local/bin/mullvad-problem-report