dotnet-installer/packaging/osx/scripts/postinstall
2015-12-01 22:12:04 +05:00

20 lines
625 B
Bash
Executable file

#!/bin/sh
#
# Copyright (c) .NET Foundation and contributors. All rights reserved.
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
#
ln -s $2/bin/dotnet /usr/local/bin/
ln -s $2/bin/dotnet-compile /usr/local/bin/
ln -s $2/bin/dotnet-compile-csc /usr/local/bin/
ln -s $2/bin/dotnet-publish /usr/local/bin/
ln -s $2/bin/dotnet-restore /usr/local/bin/
ln -s $2/bin/dotnet-restore /usr/local/bin/
ln -s $2/bin/dotnet-init /usr/local/bin/
ln -s $2/bin/dotnet-resgen /usr/local/bin/
# A temporary solution to unblock dotnet compile
cp $2/bin/corehost /usr/local/bin/
exit 0