Skip to content

Commit 909b1c6

Browse files
removal of x86_64
1 parent 2dace01 commit 909b1c6

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/powershell/install.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -296,10 +296,9 @@ install_using_github() {
296296
if ! type git > /dev/null 2>&1; then
297297
check_packages git
298298
fi
299-
if [ "${architecture}" = "x86_64" ]; then
300-
architecture="amd64"
301-
else
302-
architecture="x64"
299+
300+
if [ "${architecture}" = "amd64" ]; then
301+
architecture="x64"
303302
fi
304303
pwsh_url="https://github.com/PowerShell/PowerShell"
305304
find_version_from_git_tags POWERSHELL_VERSION $pwsh_url

0 commit comments

Comments
 (0)