Skip to content

Commit 2fb52fc

Browse files
authored
Merge pull request billw2#5 from pqarmitage/updates
Make rpi-clone-setup change all instances of host name and updates to refer to geerlingguy repo
2 parents d73f92a + 4c99cb4 commit 2fb52fc

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

rpi-clone

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
# the rpi-clone github source repository:
88
# https://github.com/billw2/rpi-clone
99

10-
# This updated code is located in a fork of Bill Willsons git repository
11-
# at https://github.com/framps/rpi-clone
10+
# This updated code is located in a fork of Bill Wilson's git repository
11+
# at https://github.com/geerlingguy/rpi-clone
1212

1313
version=2.0.23
1414

@@ -154,12 +154,12 @@ usage: $PGM sdN {-v|--verbose} {-f|--force-initialize} {-f2}
154154
Clones can be from a booted SD card or USB disk. For a description, example
155155
clone runs and example usage of above options, see the README.md at:
156156
157-
https://github.com/billw2/rpi-clone
157+
https://github.com/geerlingguy/rpi-clone
158158
159159
A line logging a $PGM run is written to $clone_log.
160160
161161
Download:
162-
git clone https://github.com/billw2/rpi-clone
162+
git clone https://github.com/geerlingguy/rpi-clone
163163
"
164164
exit 1
165165
}

rpi-clone-setup

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ echo -e "$LINE\n"
126126
# Edit /etc/hosts - edit the sed command if editing fails for your /etc/hosts.
127127
#
128128
cd $clone/etc
129-
sed -i s/"$HOSTNAME"/"$newhost"/ hosts
129+
sed -i s/"$HOSTNAME"/"$newhost"/g hosts
130130
#
131131
# Read it back to verify.
132132
#

0 commit comments

Comments
 (0)