Change email xmpp header if it already exists
This commit is contained in:
parent
9bcd603d71
commit
08c82aeece
|
@ -92,6 +92,8 @@ fi
|
|||
if [ -f /home/$USERNAME/.muttrc ]; then
|
||||
if ! grep -q "Jabber-ID" /home/$USERNAME/.muttrc; then
|
||||
echo "my_hdr Jabber-ID: $EMAIL_ADDRESS" >> /home/$USERNAME/.muttrc
|
||||
else
|
||||
sed -i "s|my_hdr Jabber-ID.*|my_hdr Jabber-ID: $EMAIL_ADDRESS|g" /home/$USERNAME/.muttrc
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue