File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed
src/installer/pkg/sfx/installers Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 1717 <IncludeVersionInMacOSComponentName >false</IncludeVersionInMacOSComponentName >
1818 <MacOSScriptsDirectory >osx_scripts/host</MacOSScriptsDirectory >
1919 <MacOSPackageDescription >The .NET Shared Host.</MacOSPackageDescription >
20+ <RpmScriptsDirectory >$(MSBuildThisFileDirectory)rpm_scripts/host</RpmScriptsDirectory >
21+ <RpmAfterInstallScript >$(RpmScriptsDirectory)/after_install.sh</RpmAfterInstallScript >
22+ <RpmAfterRemoveScript >$(RpmScriptsDirectory)/after_remove.sh</RpmAfterRemoveScript >
2023 </PropertyGroup >
2124
2225 <ItemGroup >
6871 <ItemGroup >
6972 <DebJsonProperty Include =" symlinks" Object =" { " dotnet" : " /usr/bin/dotnet" }" />
7073 <RpmJsonProperty Include =" directories" Object =" [ " /usr/share/dotnet" , " /usr/share/doc/dotnet-host" ]" />
74+ <RpmJsonProperty Include =" after_install_source" Object =" " $(RpmAfterInstallScript)" " />
75+ <RpmJsonProperty Include =" after_remove_source" Object =" " $(RpmAfterRemoveScript)" " />
7176 <PackageConflictsProperty Include =" package_conflicts" Object =" [ " dotnet" , " dotnet-nightly" ]" />
7277 <DebJsonProperty Include =" @(PackageConflictsProperty)" />
7378 <RpmJsonProperty Include =" @(PackageConflictsProperty)" />
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ if [[ -L /usr/local/bin/dotnet ]]; then
4+ rm /usr/local/bin/dotnet
5+ fi
6+ ln -s /usr/share/dotnet/dotnet /usr/local/bin/dotnet
7+
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ if [[ -L /usr/local/bin/dotnet ]]; then
4+ rm /usr/local/bin/dotnet && \
5+ fi
6+
You can’t perform that action at this time.
0 commit comments