diff --git a/release_files/darwin_pkg/postinstall b/release_files/darwin_pkg/postinstall index ad5036130..98c40f7e1 100755 --- a/release_files/darwin_pkg/postinstall +++ b/release_files/darwin_pkg/postinstall @@ -4,6 +4,8 @@ APP=/Applications/NetBird.app AGENT=/usr/local/bin/netbird LOG_FILE=/var/log/netbird/client_install.log +mkdir -p /var/log/netbird/ + { echo "Installing NetBird..." diff --git a/release_files/darwin_pkg/preinstall b/release_files/darwin_pkg/preinstall index dc630afd4..83f571ac6 100755 --- a/release_files/darwin_pkg/preinstall +++ b/release_files/darwin_pkg/preinstall @@ -2,6 +2,8 @@ LOG_FILE=/var/log/netbird/client_install.log +mkdir -p /var/log/netbird/ + { echo "Preinstall complete" exit 0 # all good