From f7a690e6504df5f12addfcc455d172f586668b68 Mon Sep 17 00:00:00 2001 From: Marc Paine Date: Fri, 27 May 2022 16:24:26 -0700 Subject: [PATCH 1/2] Update postinst --- src/redist/targets/packaging/deb/postinst | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/redist/targets/packaging/deb/postinst b/src/redist/targets/packaging/deb/postinst index 142daff4e..615c17e6b 100644 --- a/src/redist/targets/packaging/deb/postinst +++ b/src/redist/targets/packaging/deb/postinst @@ -1,22 +1,4 @@ #!/usr/bin/env sh -echo "This software may collect information about you and your use of the software, and send that to Microsoft." -echo "Please visit http://aka.ms/dotnet-cli-eula for more information." - -# Run 'dotnet new' to trigger the first time experience to initialize the cache -echo "Welcome to .NET! ---------------------- -Learn more about .NET: https://aka.ms/dotnet-docs -Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs - -Telemetry ---------- -The .NET tools collect usage data in order to help us improve your experience. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell. - -Read more about .NET CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry - -Configuring... --------------- -A command is running to populate your local package cache to improve restore speed and enable offline access. This command takes up to one minute to complete and only runs once." first_run() { /usr/share/dotnet/dotnet exec /usr/share/dotnet/sdk/%SDK_VERSION%/dotnet.dll internal-reportinstallsuccess "debianpackage" > /dev/null 2>&1 || true From 523d64bcbf010ddc24cf9d1391c24a7b99f51f7c Mon Sep 17 00:00:00 2001 From: Marc Paine Date: Fri, 27 May 2022 16:25:24 -0700 Subject: [PATCH 2/2] Update after_install_host.sh --- .../rpm/scripts/after_install_host.sh | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/redist/targets/packaging/rpm/scripts/after_install_host.sh b/src/redist/targets/packaging/rpm/scripts/after_install_host.sh index b3560eabc..31b3f346e 100644 --- a/src/redist/targets/packaging/rpm/scripts/after_install_host.sh +++ b/src/redist/targets/packaging/rpm/scripts/after_install_host.sh @@ -3,24 +3,6 @@ # 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. # -echo "This software may collect information about you and your use of the software, and send that to Microsoft." -echo "Please visit http://aka.ms/dotnet-cli-eula for more information." - -# Run 'dotnet new' as the user to trigger the first time experience to initialize the cache -echo "Welcome to .NET! ---------------------- -Learn more about .NET: https://aka.ms/dotnet-docs -Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs - -Telemetry ---------- -The .NET tools collect usage data in order to help us improve your experience. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell. - -Read more about .NET CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry - -Configuring... --------------- -A command is running to populate your local package cache to improve restore speed and enable offline access. This command takes up to one minute to complete and only runs once." first_run() { /usr/share/dotnet/dotnet exec /usr/share/dotnet/sdk/%SDK_VERSION%/dotnet.dll internal-reportinstallsuccess "rpmpackage" > /dev/null 2>&1 || true