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=$?
|
||||
|
||||
if [[ $rc -eq 0 ]]; then
|
||||
sed -i 's/TRUE,//g' /tmp/removealiases
|
||||
awk -F ":" '{print $1}' /tmp/removealiases > /tmp/removealiases2
|
||||
|
||||
if [[ $rc -eq 0 ]]; then
|
||||
|
||||
sed -i
|
||||
while read file;
|
||||
do
|
||||
jq 'del(.connect_aliases.'$file')' $PATCONFIG > $TMPFILE
|
||||
|
||||
Reference in New Issue
Block a user