Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
6481b7f3
"src/vscode:/vscode.git/clone" did not exist on "1b6c7ea74ed1c23f1144e4167a284d5d9cff18c5"
Unverified
Commit
6481b7f3
authored
Oct 16, 2023
by
Victor Vieux
Committed by
GitHub
Oct 16, 2023
Browse files
Update install.sh, avoid ARCH: unbound variable
parent
68d7255b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
scripts/install.sh
scripts/install.sh
+2
-1
No files found.
scripts/install.sh
View file @
6481b7f3
...
@@ -26,7 +26,8 @@ require() {
...
@@ -26,7 +26,8 @@ require() {
[
"
$(
uname
-s
)
"
=
"Linux"
]
||
error
'This script is intended to run on Linux only.'
[
"
$(
uname
-s
)
"
=
"Linux"
]
||
error
'This script is intended to run on Linux only.'
case
"
$(
uname
-m
)
"
in
ARCH
=
$(
uname
-m
)
case
"
$ARCH
"
in
x86_64
)
ARCH
=
"amd64"
;;
x86_64
)
ARCH
=
"amd64"
;;
aarch64|arm64
)
ARCH
=
"arm64"
;;
aarch64|arm64
)
ARCH
=
"arm64"
;;
*
)
error
"Unsupported architecture:
$ARCH
"
;;
*
)
error
"Unsupported architecture:
$ARCH
"
;;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment