File tree Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ only Debian packages with apt-get.
46
46
47
47
#### On a Raspberry Pi:
48
48
```
49
- $ curl https://github. com/geerlingguy/rpi-clone/blob /master/install | sudo bash
49
+ $ curl https://raw.githubusercontent. com/geerlingguy/rpi-clone/master/install | sudo bash
50
50
```
51
51
52
52
> Alternatively, you can manually install from source if you don't trust the ` curl | sudo bash ` install script:
Original file line number Diff line number Diff line change @@ -19,11 +19,17 @@ Destinations include:
19
19
Install ` rpi-clone ` :
20
20
21
21
```
22
- git clone https://github.com/geerlingguy/rpi-clone.git
23
- cd rpi-clone
24
- sudo cp rpi-clone rpi-clone-setup /usr/local/sbin
22
+ curl https://raw.githubusercontent.com/geerlingguy/rpi-clone/master/install | sudo bash
25
23
```
26
24
25
+ > Alternatively, you can manually install from source if you don't trust the ` curl | sudo bash ` install script:
26
+ >
27
+ > ```
28
+ > git clone https://github.com/geerlingguy/rpi-clone.git
29
+ > cd rpi-clone
30
+ > sudo cp rpi-clone rpi-clone-setup /usr/local/sbin
31
+ > ```
32
+
27
33
If booting off an internal microSD card, clone to an external USB drive:
28
34
29
35
```
Original file line number Diff line number Diff line change 20
20
set -uo pipefail
21
21
22
22
readonly PACKAGE=" rpi-clone"
23
- readonly DOWNLOAD_REPOSITORY=" https://github. com/geerlingguy/rpi-clone/blob /master"
24
- readonly DOWNLOAD_REPOSITORY_4_MESSAGE=" $( sed ' s@/blob/ master@@' <<< " $DOWNLOAD_REPOSITORY" ) "
23
+ readonly DOWNLOAD_REPOSITORY=" https://raw.githubusercontent. com/geerlingguy/rpi-clone/master"
24
+ readonly DOWNLOAD_REPOSITORY_4_MESSAGE=" $( sed ' s@/master@@' <<< " $DOWNLOAD_REPOSITORY" ) "
25
25
readonly FILES_2_DOWNLOAD" =rpi-clone rpi-clone-setup"
26
26
readonly TMP_DIR=$( mktemp -d)
27
27
readonly INSTALLATION_DIR=" /usr/local/sbin"
You can’t perform that action at this time.
0 commit comments