mirror of
https://gitlab.com/amrron/setup-scripts.git
synced 2026-10-17 01:54:00 -04:00
moved sed command
This commit is contained in:
+1
-3
@@ -414,12 +414,10 @@ CURRENT=$(cat /tmp/currentaliases | yad --image=$DIR/images/corps-icon.png --cen
|
|||||||
|
|
||||||
rc=$?
|
rc=$?
|
||||||
|
|
||||||
|
if [[ $rc -eq 0 ]]; then
|
||||||
sed -i 's/TRUE,//g' /tmp/removealiases
|
sed -i 's/TRUE,//g' /tmp/removealiases
|
||||||
awk -F ":" '{print $1}' /tmp/removealiases > /tmp/removealiases2
|
awk -F ":" '{print $1}' /tmp/removealiases > /tmp/removealiases2
|
||||||
|
|
||||||
if [[ $rc -eq 0 ]]; then
|
|
||||||
|
|
||||||
sed -i
|
|
||||||
while read file;
|
while read file;
|
||||||
do
|
do
|
||||||
jq 'del(.connect_aliases.'$file')' $PATCONFIG > $TMPFILE
|
jq 'del(.connect_aliases.'$file')' $PATCONFIG > $TMPFILE
|
||||||
|
|||||||
Reference in New Issue
Block a user