Add to $PATH in the .Net Core Host pkg
Earlier it was incorrectly done in .Net CLI pkg
This commit is contained in:
parent
811db45cf3
commit
e81166afce
2 changed files with 4 additions and 5 deletions
|
@ -9,10 +9,6 @@ INSTALL_DESTINATION=$2
|
|||
|
||||
|
||||
# A temporary fix for the permissions issue(s)
|
||||
chmod -R 755 $INSTALL_DESTINATION
|
||||
|
||||
# Add the installation bin directory to the system-wide paths
|
||||
echo $INSTALL_DESTINATION | tee -a /etc/paths.d/dotnet
|
||||
|
||||
chmod -R 755 $INSTALL_DESTINATIONs
|
||||
|
||||
exit 0
|
||||
|
|
|
@ -10,4 +10,7 @@ INSTALL_DESTINATION=$2
|
|||
# A temporary fix for the permissions issue(s)
|
||||
chmod 755 $INSTALL_DESTINATION/dotnet
|
||||
|
||||
# Add the installation directory to the system-wide paths
|
||||
echo $INSTALL_DESTINATION | tee -a /etc/paths.d/dotnet
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Reference in a new issue