actually use PKG to determine package type

This commit is contained in:
Casper da Costa-Luis
2019-11-29 18:46:57 +00:00
parent f616265c95
commit c0058a6f66
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -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")
-1
View File
@@ -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