Skip to content

Commit 423470c

Browse files
committed
Final tweaks for new install method, add uninstall guide.
1 parent 863081c commit 423470c

File tree

3 files changed

+21
-4
lines changed

3 files changed

+21
-4
lines changed

README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ $ curl https://raw.githubusercontent.com/geerlingguy/rpi-clone/master/install |
5252
> Alternatively, you can manually install from source if you don't trust the `curl | sudo bash` install script:
5353
>
5454
> ```
55-
> git clone https://github.com/geerlingguy/rpi-clone.git
56-
> cd rpi-clone
57-
> sudo cp rpi-clone rpi-clone-setup /usr/local/sbin
55+
> $ git clone https://github.com/geerlingguy/rpi-clone.git
56+
> $ cd rpi-clone
57+
> $ sudo cp rpi-clone rpi-clone-setup /usr/local/sbin
5858
> ```
5959
6060
Make sure `/usr/local/sbin` is in your $PATH and then run
@@ -715,5 +715,14 @@ Ok to proceed with the clone? (yes/no):
715715
```
716716
717717
718+
## Uninstall
719+
Uninstall by removing the two `rpi-clone` scripts that were downloaded:
720+
721+
```
722+
$ sudo rm -rf /usr/local/sbin/rpi-clone*
723+
```
724+
725+
If you installed manually by cloning this GitHub project (instead of the `curl | sudo bash` method), delete the clone as well.
726+
718727
## Author
719728
Original author: Bill Wilson (billw--at--gkrellm.net)

docs/index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,14 @@ sudo rpi-clone nvme0n1
5050
5151
For an exhaustive list of options and usage scenarios, read [this project's README](https://github.com/geerlingguy/rpi-clone).
5252
53+
## Uninstall
54+
55+
Assuming you used the `install` script with the `curl | sudo bash` installation method, the following command will remove both files that were downloaded:
56+
57+
```
58+
sudo rm -rf /usr/local/sbin/rpi-clone*
59+
```
60+
5361
## Code and License
5462
5563
The code for `rpi-clone` is maintained on GitHub:

install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Downloads and installs rpi-clone and rpi-clone-setup into /usr/local/bin
66
#
77
# Command to use to install rpi-clone:
8-
# curl https://github.com/geerlingguy/rpi-clone/blob/master/install | sudo bash
8+
# curl https://raw.githubusercontent.com/geerlingguy/rpi-clone/master/install | sudo bash
99
#
1010
# rpi-clone is Copyright (c) 2018-2019 Bill Wilson
1111
#

0 commit comments

Comments
 (0)