creation of dotnetdev.list repository has been removed

This commit is contained in:
Andrey Mishechkin
2020-02-06 14:16:18 +04:00
parent 378aff19d1
commit 98e26dd773
2 changed files with 7 additions and 7 deletions

View File

@@ -34,11 +34,11 @@ for latest_package in ${LATEST_DOTNET_PACKAGES[@]}; do
echo "Determing if .NET Core ($latest_package) is installed" echo "Determing if .NET Core ($latest_package) is installed"
if ! IsInstalled $latest_package; then if ! IsInstalled $latest_package; then
echo "Could not find .NET Core ($latest_package), installing..." echo "Could not find .NET Core ($latest_package), installing..."
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg #curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg #mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod bionic main" > /etc/apt/sources.list.d/dotnetdev.list' #sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod bionic main" > /etc/apt/sources.list.d/dotnetdev.list'
apt-get install apt-transport-https #apt-get install apt-transport-https
apt-get update #apt-get update
apt-get install $latest_package -y apt-get install $latest_package -y
else else
echo ".NET Core ($latest_package) is already installed" echo ".NET Core ($latest_package) is already installed"

View File

@@ -116,8 +116,6 @@
{ {
"type": "shell", "type": "shell",
"scripts": [ "scripts": [
"{{template_dir}}/scripts/installers/1604/dotnetcore-sdk.sh",
"{{template_dir}}/scripts/installers/1604/powershellcore.sh",
"{{template_dir}}/scripts/installers/7-zip.sh", "{{template_dir}}/scripts/installers/7-zip.sh",
"{{template_dir}}/scripts/installers/ansible.sh", "{{template_dir}}/scripts/installers/ansible.sh",
"{{template_dir}}/scripts/installers/azcopy.sh", "{{template_dir}}/scripts/installers/azcopy.sh",
@@ -131,6 +129,7 @@
"{{template_dir}}/scripts/installers/docker-compose.sh", "{{template_dir}}/scripts/installers/docker-compose.sh",
"{{template_dir}}/scripts/installers/docker-moby.sh", "{{template_dir}}/scripts/installers/docker-moby.sh",
"{{template_dir}}/scripts/installers/docker.sh", "{{template_dir}}/scripts/installers/docker.sh",
"{{template_dir}}/scripts/installers/1604/dotnetcore-sdk.sh",
"{{template_dir}}/scripts/installers/erlang.sh", "{{template_dir}}/scripts/installers/erlang.sh",
"{{template_dir}}/scripts/installers/firefox.sh", "{{template_dir}}/scripts/installers/firefox.sh",
"{{template_dir}}/scripts/installers/gcc.sh", "{{template_dir}}/scripts/installers/gcc.sh",
@@ -155,6 +154,7 @@
"{{template_dir}}/scripts/installers/1604/php.sh", "{{template_dir}}/scripts/installers/1604/php.sh",
"{{template_dir}}/scripts/installers/pollinate.sh", "{{template_dir}}/scripts/installers/pollinate.sh",
"{{template_dir}}/scripts/installers/postgresql.sh", "{{template_dir}}/scripts/installers/postgresql.sh",
"{{template_dir}}/scripts/installers/1604/powershellcore.sh",
"{{template_dir}}/scripts/installers/ruby.sh", "{{template_dir}}/scripts/installers/ruby.sh",
"{{template_dir}}/scripts/installers/rust.sh", "{{template_dir}}/scripts/installers/rust.sh",
"{{template_dir}}/scripts/installers/sbt.sh", "{{template_dir}}/scripts/installers/sbt.sh",