-
Notifications
You must be signed in to change notification settings - Fork 358
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow override of Linux install root (#8238)
- Loading branch information
1 parent
f902fcb
commit b3e9491
Showing
1 changed file
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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> | ||
|
@@ -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" /> | ||
|