mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
actually use PKG to determine package type
This commit is contained in:
+1
-1
@@ -48,7 +48,7 @@ class Updater(object): # pragma: no cover
|
||||
logger.debug(msg.format(self.lock.lockfile, action))
|
||||
|
||||
def check(self):
|
||||
if os.getenv("CI") or env2bool("DVC_TEST") or env2bool("SNAP"):
|
||||
if os.getenv("CI") or env2bool("DVC_TEST") or PKG == "snap":
|
||||
return
|
||||
|
||||
self._with_lock(self._check, "checking")
|
||||
|
||||
@@ -31,6 +31,5 @@ apps:
|
||||
completer: completion.sh
|
||||
environment:
|
||||
GIT_PYTHON_GIT_EXECUTABLE: dvc.git
|
||||
SNAP: 1 # suppress update checks
|
||||
git:
|
||||
command: /usr/bin/git
|
||||
|
||||
Reference in New Issue
Block a user