From d82b050c347e17147d111ff4be5fa031ead4e559 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Sat, 18 Feb 2017 11:52:58 +0100 Subject: [PATCH] [Fixed] `gpio` group add (sed error) --- clone/clone | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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":