Skip to content

Commit c2d0424

Browse files
committed
Update Debian Install Script To Support Debian 10
Support for installing pwsh on Debian 10 was added in #11236, but the install script for Debian was not updated. This resulted in an error when running the install script that claimed the distro was not supported. This change simply adds `10` to the collection of supported distro's. I have tested that the script will now successfully install powershell preview 7 on a Debian 10 machine. Fix #11539
1 parent b19e2b9 commit c2d0424

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/installpsh-debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ case $DISTRIB_ID in
186186
debian)
187187
DISTRIB_RELEASE=${DISTRIB_RELEASE%%.*}
188188
case $DISTRIB_RELEASE in
189-
8|9)
189+
8|9|10|11)
190190
curl https://packages.microsoft.com/config/debian/$DISTRIB_RELEASE/prod.list | $SUDO tee /etc/apt/sources.list.d/microsoft.list
191191
;;
192192
*)

0 commit comments

Comments
 (0)