Skip to content

Commit

Permalink
Add cargo reinstallation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
alichtman committed May 30, 2018
1 parent 38d5be7 commit 19f2705
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions shallow_backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,9 @@ def reinstall_packages(packages_path):
print(Fore.RED + "WARNING: Macports reinstallation is not supported." + Style.RESET_ALL)
elif pm == "gem":
print(Fore.RED + "WARNING: Gem reinstallation is not supported." + Style.RESET_ALL)
elif pm == "cargo":
print(Fore.RED + "WARNING: Cargo reinstallation is not possible at the moment. \
\n -> https://github.com/rust-lang/cargo/issues/5593" + Style.RESET_ALL)

sys.exit()

Expand Down

0 comments on commit 19f2705

Please sign in to comment.