From 44b157f4720555d816f3d49f86132e23495dc563 Mon Sep 17 00:00:00 2001 From: USER Date: Sat, 27 Jul 2024 12:10:26 +0100 Subject: [PATCH] . --- fixes/1-machines | 2 +- fixes/1-pushfolders | 2 +- fixes/1-remove-machines | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fixes/1-machines b/fixes/1-machines index 5a93836..32f747e 100755 --- a/fixes/1-machines +++ b/fixes/1-machines @@ -8,7 +8,7 @@ SHARE_LIST=/zz/zPrivate/secrets/share.list ${BINARY} cli config devices ${myID} name set ${MYHOST}.${USER} #grep -v ${myID} ${MASTER_LIST} > /tmp/final.1 -grep -v ${myID} ${SHARE_LIST} >> /tmp/final.1 +grep -v ${myID} ${SHARE_LIST} > /tmp/final.1 for i in `cat /tmp/final.1` do diff --git a/fixes/1-pushfolders b/fixes/1-pushfolders index 172e387..f414e07 100755 --- a/fixes/1-pushfolders +++ b/fixes/1-pushfolders @@ -6,7 +6,7 @@ MASTER_LIST=/zz/zPrivate/secrets/master.list SHARE_LIST=/zz/zPrivate/secrets/share.list #grep -v ${myID} ${MASTER_LIST} > /tmp/final.1 -grep -v ${myID} ${SHARE_LIST} >> /tmp/final.1 +grep -hv ${myID} ${SHARE_LIST} > /tmp/final.1 ${BINARY} cli config folders list > /tmp/final.2 diff --git a/fixes/1-remove-machines b/fixes/1-remove-machines index c0fcfdb..8cb551a 100755 --- a/fixes/1-remove-machines +++ b/fixes/1-remove-machines @@ -8,7 +8,7 @@ SHARE_LIST=/zz/zPrivate/secrets/share.list ${BINARY} cli config devices ${myID} name set ${MYHOST}.${USER} #grep -v ${myID} ${MASTER_LIST} > /tmp/final.1 -grep -v ${myID} ${SHARE_LIST} >> /tmp/final.1 +grep -hv ${myID} ${SHARE_LIST} > /tmp/final.1 for i in `cat /tmp/final.1` do