Invert logic
This commit is contained in:
parent
32ff0f683c
commit
801e14529d
|
@ -865,7 +865,7 @@ function show_your_email_address {
|
||||||
msgstrbase=$"\\nYou can press SHIFT and then drag the mouse and right click to copy.\\n\\nEmail Address: ${MY_EMAIL_ADDRESS}${onionemailstr}\\n\\nKey ID: ${GPG_ID}\\n\\nFingerprint: ${GPG_FINGERPRINT}\\n\\nCreated: ${GPG_DATE}"
|
msgstrbase=$"\\nYou can press SHIFT and then drag the mouse and right click to copy.\\n\\nEmail Address: ${MY_EMAIL_ADDRESS}${onionemailstr}\\n\\nKey ID: ${GPG_ID}\\n\\nFingerprint: ${GPG_FINGERPRINT}\\n\\nCreated: ${GPG_DATE}"
|
||||||
bdsmail_address=
|
bdsmail_address=
|
||||||
bdsmailstr=
|
bdsmailstr=
|
||||||
if [ ! -f ~/.mutt/bdsmail ]; then
|
if [ -f ~/.mutt/bdsmail ]; then
|
||||||
bdsmail_address=$(grep 'set from=' ~/.mutt/bdsmail | awk -F '=' '{print $2}')
|
bdsmail_address=$(grep 'set from=' ~/.mutt/bdsmail | awk -F '=' '{print $2}')
|
||||||
bdsmailstr="\\n\\nI2P Address: ${bdsmail_address}"
|
bdsmailstr="\\n\\nI2P Address: ${bdsmail_address}"
|
||||||
dialog_height=$((dialog_height+3))
|
dialog_height=$((dialog_height+3))
|
||||||
|
@ -885,7 +885,7 @@ function show_your_email_address {
|
||||||
echo ''
|
echo ''
|
||||||
qr_code_shown=1
|
qr_code_shown=1
|
||||||
fi
|
fi
|
||||||
if [ -f ~/.mutt/bdsmail ]; then
|
if [ "${bdsmail_address}" ]; then
|
||||||
echo ''
|
echo ''
|
||||||
echo $'Your bdsmail address:'
|
echo $'Your bdsmail address:'
|
||||||
echo ''
|
echo ''
|
||||||
|
|
Loading…
Reference in New Issue