Skip to content

Commit

Permalink
Final tweaks for new install method, add uninstall guide.
Browse files Browse the repository at this point in the history
  • Loading branch information
geerlingguy committed Feb 13, 2024
1 parent 863081c commit 423470c
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ $ curl https://raw.githubusercontent.com/geerlingguy/rpi-clone/master/install |
> Alternatively, you can manually install from source if you don't trust the `curl | sudo bash` install script:
>
> ```
> git clone https://github.com/geerlingguy/rpi-clone.git
> cd rpi-clone
> sudo cp rpi-clone rpi-clone-setup /usr/local/sbin
> $ git clone https://github.com/geerlingguy/rpi-clone.git
> $ cd rpi-clone
> $ sudo cp rpi-clone rpi-clone-setup /usr/local/sbin
> ```
Make sure `/usr/local/sbin` is in your $PATH and then run
Expand Down Expand Up @@ -715,5 +715,14 @@ Ok to proceed with the clone? (yes/no):
```


## Uninstall
Uninstall by removing the two `rpi-clone` scripts that were downloaded:

```
$ sudo rm -rf /usr/local/sbin/rpi-clone*
```

If you installed manually by cloning this GitHub project (instead of the `curl | sudo bash` method), delete the clone as well.

## Author
Original author: Bill Wilson (billw--at--gkrellm.net)
8 changes: 8 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@ sudo rpi-clone nvme0n1

For an exhaustive list of options and usage scenarios, read [this project's README](https://github.com/geerlingguy/rpi-clone).

## Uninstall

Assuming you used the `install` script with the `curl | sudo bash` installation method, the following command will remove both files that were downloaded:

```
sudo rm -rf /usr/local/sbin/rpi-clone*
```

## Code and License

The code for `rpi-clone` is maintained on GitHub:
Expand Down
2 changes: 1 addition & 1 deletion install
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Downloads and installs rpi-clone and rpi-clone-setup into /usr/local/bin
#
# Command to use to install rpi-clone:
# curl https://github.com/geerlingguy/rpi-clone/blob/master/install | sudo bash
# curl https://raw.githubusercontent.com/geerlingguy/rpi-clone/master/install | sudo bash
#
# rpi-clone is Copyright (c) 2018-2019 Bill Wilson
#
Expand Down

0 comments on commit 423470c

Please sign in to comment.