From 417c8dd4d04b64a4ad4204772fce8d27440cf6fb Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Thu, 25 May 2023 19:22:07 -0500 Subject: [PATCH] update --- src/viv/viv.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/viv/viv.py b/src/viv/viv.py index fa90138..b493242 100755 --- a/src/viv/viv.py +++ b/src/viv/viv.py @@ -51,7 +51,7 @@ from typing import ( Generator, ) -__version__ = "22.12a3-45-g9e62287-dev" +__version__ = "22.12a3-46-gb97b4f7-dev" @dataclass @@ -929,7 +929,7 @@ class Viv: ) elif args.cmd == "update": - if "/procs/" in Path(__file__).resolve(): + if str(Path(__file__).resolve()).startswith("/procs/"): error( a.style("viv manage update", "bold") + "should be used with a locally installed viv",