diff --git a/release_files/darwin_pkg/postinstall b/release_files/darwin_pkg/postinstall index ad5036130ec..33b3a27767a 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 $LOG_FILE + { echo "Installing NetBird..." diff --git a/release_files/darwin_pkg/preinstall b/release_files/darwin_pkg/preinstall index dc630afd4e2..18e8df322d4 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 $LOG_FILE + { echo "Preinstall complete" exit 0 # all good