Skip to content

Commit 874ffec

Browse files
committed
add wget if not present.
1 parent 26a556e commit 874ffec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/powershell/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ install_using_github() {
367367
# Fall back on direct download if no apt package exists in microsoft pool
368368
if command -v apt-get > /dev/null 2>&1; then
369369
# Debian/Ubuntu dependencies
370-
check_packages curl ca-certificates gnupg2 dirmngr libc6 libgcc1 libgssapi-krb5-2 libstdc++6 libunwind8 libuuid1 zlib1g libicu[0-9][0-9]
370+
check_packages curl ca-certificates gnupg2 dirmngr libc6 libgcc1 libgssapi-krb5-2 libstdc++6 libunwind8 libuuid1 zlib1g libicu[0-9][0-9] wget
371371
elif command -v dnf > /dev/null 2>&1; then
372372
# AlmaLinux/RHEL dependencies
373373
check_packages curl ca-certificates gnupg2 glibc libgcc krb5-libs libstdc++ libuuid zlib libicu wget tar
@@ -394,7 +394,7 @@ install_using_github() {
394394
install_prev_pwsh $pwsh_url
395395
fi
396396

397-
# downlaod the latest version of powershell and extracting the file to powershell directory
397+
# download the latest version of powershell and extracting the file to powershell directory
398398
wget https://github.com/PowerShell/PowerShell/releases/download/v${POWERSHELL_VERSION}/${powershell_filename}
399399
mkdir ~/powershell
400400
tar -xvf ${powershell_filename} -C ~/powershell

0 commit comments

Comments
 (0)