Skip to content

Commit

Permalink
Allow override of Linux install root (#8238)
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaMilosavljevic authored Dec 4, 2021
1 parent f902fcb commit b3e9491
Showing 1 changed file with 2 additions and 1 deletion.
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="[email protected]" />
<_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

0 comments on commit b3e9491

Please sign in to comment.