Skip to content

Allow override of Linux install root #8251

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 10, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,7 @@
<Target Name="_GetCommonJsonProperties">
<PropertyGroup>
<FullLicenseText>$([System.IO.File]::ReadAllText('$(LicenseFile)').Replace('%0A', '\n').Replace('"', '\"'))</FullLicenseText>
<LinuxInstallRoot Condition="'$(LinuxInstallRoot)' == ''">/usr/share/dotnet</LinuxInstallRoot>
</PropertyGroup>

<ItemGroup>
Expand Down Expand Up @@ -494,7 +495,7 @@
<_CommonLinuxPackageProperty Include="short_description" String="$(_ShortDescription)" />
<_CommonLinuxPackageProperty Include="maintainer_name" String=".NET Team" />
<_CommonLinuxPackageProperty Include="maintainer_email" String="dotnetpackages@dotnetfoundation.org" />
<_CommonLinuxPackageProperty Include="install_root" String="/usr/share/dotnet" />
<_CommonLinuxPackageProperty Include="install_root" String="$(LinuxInstallRoot)" />
<_CommonLinuxPackageProperty Include="long_description" String=".NET is a development platform that you can use to build command-line applications, microservices and modern websites. It is open source, cross-platform and is supported by Microsoft. We hope you enjoy using it! If you do, please consider joining the active community of developers that are contributing to the project on GitHub (https://github.com/dotnet/core). We happily accept issues and PRs." />
<_CommonLinuxPackageProperty Include="homepage" String="https://github.com/dotnet/core" />
<_CommonLinuxPackageProperty Include="copyright" String="2017 Microsoft" />
Expand Down