Skip to content

Commit

Permalink
add creating log dir to macOS installer scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
pascal-fischer committed May 31, 2023
1 parent 7f454f9 commit 5b9378e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions release_files/darwin_pkg/postinstall
Original file line number Diff line number Diff line change
Expand Up @@ -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..."

Expand Down
2 changes: 2 additions & 0 deletions release_files/darwin_pkg/preinstall
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

LOG_FILE=/var/log/netbird/client_install.log

mkdir -p $LOG_FILE

{
echo "Preinstall complete"
exit 0 # all good
Expand Down

0 comments on commit 5b9378e

Please sign in to comment.