diff --git a/clone/clone b/clone/clone index 05eb98d..83b0248 100755 --- a/clone/clone +++ b/clone/clone @@ -168,7 +168,7 @@ step5(){ echo " - /etc/group"; cat ./utility/group_append | sudo tee -a /mnt/etc/group > /dev/null; cat ./utility/group_append | sudo tee -a /mnt/etc/group- > /dev/null; - sudo cat /mnt/etc/group | sed 's/(gpio:x:997:pi)/$1,sats/' | sudo tee /mnt/etc/group > /dev/null; + sudo cat /mnt/etc/group | sed 's/^gpio:x:997:pi$/\0,sats/' | sudo tee /mnt/etc/group > /dev/null; echo "<<< done":