Skip to content

Commit 35fbb1c

Browse files
committed
Add --no-sha256sum option
Signed-off-by: ghosind <[email protected]>
1 parent d98fd98 commit 35fbb1c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

bash_completion

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ _dvm_add_exclusive_option() {
5353
# Add options for command install.
5454
_dvm_add_install_option() {
5555
_dvm_add_exclusive_option "--from-binary" "--from-source"
56-
_dvm_add_options "--registry=" "--skip-validation" "--skip-download-cache" "--sha256sum"
56+
_dvm_add_options "--registry=" "--skip-validation" "--skip-download-cache"
57+
_dvm_add_options "--sha256sum" "--no-sha256sum"
5758
}
5859

5960
# Add the specified option to the options list.

dvm.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2124,6 +2124,9 @@ dvm() {
21242124
"--sha256sum")
21252125
DVM_INSTALL_SHA256SUM=true
21262126
;;
2127+
"--no-sha256sum")
2128+
DVM_INSTALL_SHA256SUM=false
2129+
;;
21272130
"-"*)
21282131
;;
21292132
*)

0 commit comments

Comments
 (0)