X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=powershell%2Finstall.sh;h=5a81b9bbecd98e009d9e12907eaabc208bc85cde;hb=aa61db993471a5ec35fadbc050126735b9fc200a;hp=ac1a36c673faa7a83316ed824b65918e51fb7354;hpb=693613da4bb1f37b33b393f086f9be57a35dc7c5;p=webi-installers%2F.git diff --git a/powershell/install.sh b/powershell/install.sh index ac1a36c..5a81b9b 100644 --- a/powershell/install.sh +++ b/powershell/install.sh @@ -14,7 +14,7 @@ # PowerShell 7.0.2 # This trims it down to just the version number: # 7.0.2 - echo "$(pwsh --version 2>/dev/null | head -n 1 | cut -d' ' -f2)" + echo "$(pwsh --version 2> /dev/null | head -n 1 | cut -d' ' -f2)" } pkg_install() { @@ -23,9 +23,9 @@ mv ./* "$pkg_src" # symlink powershell to pwsh - pushd "$pkg_src" >/dev/null - ln -s pwsh powershell - popd >/dev/null + pushd "$pkg_src" > /dev/null + ln -s pwsh powershell + popd > /dev/null } pkg_link() {