Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Merge pull request #367 from blackdwarf/portingto1.0.0
Browse files Browse the repository at this point in the history
Port to 1.0.0 of "Add creation of /etc/paths.d to host postinstall (#362)"
  • Loading branch information
gkhanna79 authored Sep 28, 2016
2 parents 3285d35 + 12869a3 commit 4ce79ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packaging/osx/sharedhost/scripts/postinstall
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ INSTALL_DESTINATION=$2
chmod 755 $INSTALL_DESTINATION/dotnet

# Add the installation directory to the system-wide paths
# But first create the directory if it doesn't exist
mkdir -p /etc/paths.d
echo $INSTALL_DESTINATION | tee /etc/paths.d/dotnet

exit 0

0 comments on commit 4ce79ce

Please sign in to comment.