Source Update

This commit is contained in:
Christer Warén 2024-04-29 21:35:32 +03:00
parent 71cf24869a
commit a2478d0a7a
2 changed files with 20 additions and 18 deletions

View File

@ -165,16 +165,17 @@ wx-login(){
wx-stop wx-stop
fi fi
config[${ORG}]=$VAULT_LOGIN
mkdir -p $HOME/.config/warengroup &> /dev/null
touch $HOME/.config/warengroup/login.json &> /dev/null
echo '{ "'$ORG'": "'$VAULT_LOGIN'" }' | jq > $HOME/.config/warengroup/login.json
cat $HOME/.config/warengroup/login.json
wx-start
fi fi
config[${ORG}]=$VAULT_LOGIN
mkdir -p $HOME/.config/warengroup &> /dev/null
touch $HOME/.config/warengroup/login.json &> /dev/null
echo '{ "'$ORG'": "'$VAULT_LOGIN'" }' | jq > $HOME/.config/warengroup/login.json
wx-start
else else
echo -n $wxBold echo -n $wxBold
echo -n $ORG echo -n $ORG

19
wx
View File

@ -187,16 +187,17 @@ wx-login(){
wx-stop wx-stop
fi fi
config[${ORG}]=$VAULT_LOGIN
mkdir -p $HOME/.config/warengroup &> /dev/null
touch $HOME/.config/warengroup/login.json &> /dev/null
echo '{ "'$ORG'": "'$VAULT_LOGIN'" }' | jq > $HOME/.config/warengroup/login.json
cat $HOME/.config/warengroup/login.json
wx-start
fi fi
config[${ORG}]=$VAULT_LOGIN
mkdir -p $HOME/.config/warengroup &> /dev/null
touch $HOME/.config/warengroup/login.json &> /dev/null
echo '{ "'$ORG'": "'$VAULT_LOGIN'" }' | jq > $HOME/.config/warengroup/login.json
wx-start
else else
echo -n $wxBold echo -n $wxBold
echo -n $ORG echo -n $ORG