File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed
spec/fixtures/scripts/install_pwsh Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 39
39
"operatingsystem" : " Debian" ,
40
40
"operatingsystemrelease" : [
41
41
" 9" ,
42
- " 10"
42
+ " 10" ,
43
+ " 11"
43
44
]
44
45
},
45
46
{
Original file line number Diff line number Diff line change
1
+ # Install system components
2
+ apt-get update
3
+ apt-get install -y curl gnupg apt-transport-https
4
+
5
+ # Import the public repository GPG keys
6
+ curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
7
+
8
+ # Register the Microsoft Product feed
9
+ sh -c ' echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-debian-bullseye-prod bullseye main" > /etc/apt/sources.list.d/microsoft.list'
10
+
11
+ # Update the list of products
12
+ apt-get update
13
+
14
+ # Install PowerShell
15
+ apt-get install -y powershell
16
+
17
+ # List version
18
+ pwsh -v
You can’t perform that action at this time.
0 commit comments