From f9dce8b2d3af877bbf4997a8ac5d42930db8437f Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Mon, 13 May 2019 13:18:59 +0200 Subject: [PATCH] Recommend user installs when upgrading --- docs/how-to/upgrade.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/how-to/upgrade.md b/docs/how-to/upgrade.md index 8ba14e1..e0c1e7f 100644 --- a/docs/how-to/upgrade.md +++ b/docs/how-to/upgrade.md @@ -7,7 +7,7 @@ In general, all you should need to do to upgrade borgmatic is run the following: ```bash -sudo pip3 install --upgrade borgmatic +sudo pip3 install --user --upgrade borgmatic ``` See below about special cases. @@ -25,14 +25,14 @@ already running borgmatic with Python 3, then you can upgrade borgmatic in-place: ```bash -sudo pip3 install --upgrade borgmatic +sudo pip3 install --user --upgrade borgmatic ``` But if you were running borgmatic with Python 2, uninstall and reinstall instead: ```bash sudo pip uninstall borgmatic -sudo pip3 install borgmatic +sudo pip3 install --user borgmatic ``` The pip binary names for different versions of Python can differ, so the above @@ -67,7 +67,7 @@ from atticmatic to borgmatic by running the following commands: ```bash sudo pip3 uninstall atticmatic -sudo pip3 install borgmatic +sudo pip3 install --user borgmatic ``` That's it! borgmatic will continue using your /etc/borgmatic configuration