Commit | Line | Data |
---|---|---|
2afe1394 SK |
1 | #! /bin/sh |
2 | ||
3 | set -e | |
4 | ||
eef8c618 SK |
5 | PKG_FILE='packages-microsoft-prod.deb' |
6 | PKG_NAME='dotnet-sdk-3.1=3.1.100-1' | |
2afe1394 SK |
7 | |
8 | mkdir -p data | |
eef8c618 SK |
9 | wget https://packages.microsoft.com/config/ubuntu/18.04/"$PKG_FILE" -O data/"$PKG_FILE" |
10 | sudo apt install ./data/"$PKG_FILE" | |
2afe1394 SK |
11 | sudo apt update |
12 | sudo apt install apt-transport-https | |
13 | sudo apt update | |
eef8c618 SK |
14 | sudo apt install "$PKG_NAME" |
15 | sudo apt-mark hold "$PKG_NAME" |