Skip to content

Commit 2c0b209

Browse files
committed
Rectified install: Cask 'dvc' is not installed. error #2680
1 parent e26517e commit 2c0b209

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

dvc/updater.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ def _get_update_instructions(self):
123123
"yum": "Run {yellow}yum{reset} update dvc",
124124
"yay": "Run {yellow}yay{reset} {blue}-S{reset} dvc",
125125
"formula": "Run {yellow}brew{reset} upgrade dvc",
126-
"cask": "Run {yellow}brew cask{reset} upgrade dvc",
127126
"apt": (
128127
"Run {yellow}apt-get{reset} install"
129128
" {blue}--only-upgrade{reset} dvc"
@@ -169,14 +168,6 @@ def _get_darwin(self):
169168
return "formula"
170169
else:
171170
return "pip"
172-
173-
# NOTE: both pkg and cask put dvc binary into /usr/local/bin,
174-
# so in order to know which method of installation was used,
175-
# we need to actually call `brew cask`
176-
ret = os.system("brew cask ls dvc")
177-
if ret == 0:
178-
return "cask"
179-
180171
return None
181172

182173
def _get_windows(self):

0 commit comments

Comments
 (0)