From b97b4f7894809a9d026ff3a6a85d4e358cda6e56 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Thu, 25 May 2023 19:20:26 -0500 Subject: [PATCH] update --- src/viv/viv.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/viv/viv.py b/src/viv/viv.py index 1c04de8..fa90138 100755 --- a/src/viv/viv.py +++ b/src/viv/viv.py @@ -51,7 +51,7 @@ from typing import ( Generator, ) -__version__ = "22.12a3-44-g3b9c2e6-dev" +__version__ = "22.12a3-45-g9e62287-dev" @dataclass @@ -929,6 +929,12 @@ class Viv: ) elif args.cmd == "update": + if "/procs/" in Path(__file__).resolve(): + error( + a.style("viv manage update", "bold") + + "should be used with a locally installed viv", + 1, + ) try: r = urlopen( "https://raw.githubusercontent.com/daylinmorgan/viv/"