Skip to content

Commit c7a7719

Browse files
authored
Merge pull request #257 from mjcheetham/fixosxinstall
Ensure the /usr/local/bin directory exists on install
2 parents 24149e8 + a55e799 commit c7a7719

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

nuget.config

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<packageSources>
4+
<clear />
5+
<add key="nuget" value="https://api.nuget.org/v3/index.json" />
6+
</packageSources>
7+
</configuration>

src/osx/Installer.Mac/scripts/postinstall

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ then
2727
fi
2828

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

3233
# Configure GCM for the current user

0 commit comments

Comments
 (0)