Skip to content

Commit

Permalink
Merge pull request #257 from mjcheetham/fixosxinstall
Browse files Browse the repository at this point in the history
Ensure the /usr/local/bin directory exists on install
  • Loading branch information
mjcheetham committed Jan 4, 2021
2 parents 24149e8 + a55e799 commit c7a7719
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions nuget.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="nuget" value="https://api.nuget.org/v3/index.json" />
</packageSources>
</configuration>
1 change: 1 addition & 0 deletions src/osx/Installer.Mac/scripts/postinstall
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ then
fi

# Create symlink to GCM in /usr/local/bin
mkdir -p /usr/local/bin
/bin/ln -Fs "$INSTALL_DESTINATION/git-credential-manager-core" /usr/local/bin/git-credential-manager-core

# Configure GCM for the current user
Expand Down

0 comments on commit c7a7719

Please sign in to comment.