Skip to content

Commit

Permalink
Add -U to pkg update call
Browse files Browse the repository at this point in the history
  • Loading branch information
LightArrowsEXE committed Jul 11, 2022
1 parent f7e6612 commit e3115b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lvsfunc/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def prompt_user() -> bool:

match prompt:
case 'y' | 'yes': return True
case 'n' | _: return False
case _: return False


def main() -> None:
Expand All @@ -55,7 +55,7 @@ def main() -> None:
pkg_version = pkg_resources.get_distribution(pkg).version
pkg_ghrepo = "https://github.com/Irrational-Encoding-Wizardry/lvsfunc.git"

update_reqs = [sys.executable, '-m', 'pip', 'install']
update_reqs = [sys.executable, '-m', 'pip', 'install', '-U']
update_reqs.append(f"git+{pkg_ghrepo}@v{pkg_version}")

vsrepo = ['vsrepo', 'install']
Expand Down

0 comments on commit e3115b2

Please sign in to comment.