Fix bug with --no-confirm
This commit is contained in:
parent
956ad51072
commit
9a2c4d8876
|
@ -546,9 +546,9 @@ def yeet(path):
|
||||||
|
|
||||||
|
|
||||||
def install(args):
|
def install(args):
|
||||||
if not args.no_confirm:
|
|
||||||
dest = os.path.expanduser(os.path.join("~", ".orca"))
|
dest = os.path.expanduser(os.path.join("~", ".orca"))
|
||||||
|
|
||||||
|
if not args.no_confirm:
|
||||||
print("The Orca command-line tools will be installed to your home directory in:")
|
print("The Orca command-line tools will be installed to your home directory in:")
|
||||||
print(dest)
|
print(dest)
|
||||||
print()
|
print()
|
||||||
|
@ -568,8 +568,8 @@ def install(args):
|
||||||
|
|
||||||
# TODO: Customize these instructions for Windows
|
# TODO: Customize these instructions for Windows
|
||||||
print()
|
print()
|
||||||
print("Orca has been installed. Make sure the Orca tools are on your PATH by adding the")
|
print("The Orca tools have been installed. Make sure the Orca tools are on your PATH by")
|
||||||
print("following to your shell config:")
|
print("adding the following to your shell config:")
|
||||||
print()
|
print()
|
||||||
print(f"export PATH=\"{bin_dir}:$PATH\"")
|
print(f"export PATH=\"{bin_dir}:$PATH\"")
|
||||||
print()
|
print()
|
||||||
|
|
Loading…
Reference in New Issue