diff --git a/scripts/dev.py b/scripts/dev.py index d9a4574..9ca30b7 100644 --- a/scripts/dev.py +++ b/scripts/dev.py @@ -546,9 +546,9 @@ def yeet(path): 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(dest) print() @@ -561,15 +561,15 @@ def install(args): else: print("Please enter \"yes\" or \"no\" and press return.") - bin_dir = os.path.join(dest, "bin") - yeet(bin_dir) - shutil.copytree("scripts", os.path.join(bin_dir, "sys_scripts")) - shutil.copy("orca", bin_dir) + bin_dir = os.path.join(dest, "bin") + yeet(bin_dir) + shutil.copytree("scripts", os.path.join(bin_dir, "sys_scripts")) + shutil.copy("orca", bin_dir) - # TODO: Customize these instructions for Windows - print() - print("Orca has been installed. Make sure the Orca tools are on your PATH by adding the") - print("following to your shell config:") - print() - print(f"export PATH=\"{bin_dir}:$PATH\"") - print() + # TODO: Customize these instructions for Windows + print() + print("The Orca tools have been installed. Make sure the Orca tools are on your PATH by") + print("adding the following to your shell config:") + print() + print(f"export PATH=\"{bin_dir}:$PATH\"") + print()