mirror of
https://github.com/daylinmorgan/viv.git
synced 2024-11-14 04:57:53 -06:00
fix: make directory before trying to write to it
This commit is contained in:
parent
a78624c26e
commit
d6158137f2
1 changed files with 2 additions and 1 deletions
|
@ -53,7 +53,7 @@ from typing import (
|
||||||
from urllib.error import HTTPError
|
from urllib.error import HTTPError
|
||||||
from urllib.request import urlopen
|
from urllib.request import urlopen
|
||||||
|
|
||||||
__version__ = "23.8a1-1-g0547fd6-dev"
|
__version__ = "23.8a1-3-ga78624c-dev"
|
||||||
|
|
||||||
|
|
||||||
class Spinner:
|
class Spinner:
|
||||||
|
@ -1270,6 +1270,7 @@ class Viv:
|
||||||
cli.unlink()
|
cli.unlink()
|
||||||
cli.symlink_to(src)
|
cli.symlink_to(src)
|
||||||
else:
|
else:
|
||||||
|
cli.parent.mkdir(exist_ok=True, parents=True)
|
||||||
cli.symlink_to(src)
|
cli.symlink_to(src)
|
||||||
|
|
||||||
log.info("Remember to include the following line in your shell rc file:")
|
log.info("Remember to include the following line in your shell rc file:")
|
||||||
|
|
Loading…
Reference in a new issue