Compare commits

...

4 Commits

Author SHA1 Message Date
Michael
591b706e3f
Merge 477353e1a48a64912b4e2dc2cce9c6784ed82ab5 into ccf6d160172ab57f9777e88af5fa51240108285a 2024-11-04 15:08:53 +00:00
Jordan Harband
ccf6d16017
[meta] disable blank issues 2024-11-04 15:07:16 +00:00
Jordan Harband
ba98270442
[meta] update issue template 2024-11-04 15:01:26 +00:00
Michael Zanggl
477353e1a4 add ARCH overwrite 2023-12-20 15:40:28 +09:00
3 changed files with 14 additions and 0 deletions

1
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@ -0,0 +1 @@
blank_issues_enabled: false

View File

@ -1,3 +1,11 @@
---
name: File an issue…
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---
<!-- Thank you for being interested in nvm! Please help us by filling out the following form if youre having trouble. If you have a feature request, or some other question, please feel free to clear out the form. Thanks! -->

5
nvm.sh
View File

@ -2047,6 +2047,11 @@ nvm_get_arch() {
local EXIT_CODE
local LONG_BIT
if [ -n "$NVM_NODEJS_ORG_ARCH" ]; then
nvm_echo "${NVM_NODEJS_ORG_ARCH}"
return
fi
NVM_OS="$(nvm_get_os)"
# If the OS is SunOS, first try to use pkgsrc to guess
# the most appropriate arch. If it's not available, use