summaryrefslogtreecommitdiffhomepage
path: root/dist-assets/pkg-scripts
diff options
context:
space:
mode:
authorEmīls Piņķis <emils@mullvad.net>2021-04-20 11:33:12 +0100
committerEmīls <emils@mullvad.net>2021-04-20 14:27:19 +0100
commitb4ef793b79ece8a708fd43f21ff32adba7bd799e (patch)
treea908dbb7deaa4d719eef6c47cdab5b2687ae489c /dist-assets/pkg-scripts
parentaec20dcf168722a22134e70a43c6e163882bc66c (diff)
downloadmullvadvpn-b4ef793b79ece8a708fd43f21ff32adba7bd799e.tar.xz
mullvadvpn-b4ef793b79ece8a708fd43f21ff32adba7bd799e.zip
Set 644 permissions for daemon plist in installer
Diffstat (limited to 'dist-assets/pkg-scripts')
-rwxr-xr-xdist-assets/pkg-scripts/postinstall1
1 files changed, 1 insertions, 0 deletions
diff --git a/dist-assets/pkg-scripts/postinstall b/dist-assets/pkg-scripts/postinstall
index 7034cc15a3..8286713e05 100755
--- a/dist-assets/pkg-scripts/postinstall
+++ b/dist-assets/pkg-scripts/postinstall
@@ -59,6 +59,7 @@ pkill -x "Mullvad VPN" || echo "Unable to kill GUI, not running?"
sleep 1
echo "$DAEMON_PLIST" > $DAEMON_PLIST_PATH
+chmod 644 $DAEMON_PLIST_PATH
launchctl load -w $DAEMON_PLIST_PATH
mkdir -p /usr/local/bin