This commit is contained in:
Bob Mottram 2018-04-07 11:06:12 +01:00
parent a9c16b9986
commit 206a87ca59
1 changed files with 3 additions and 9 deletions

View File

@ -862,15 +862,9 @@ function show_your_email_address {
msgstr=$"Email Address: $MY_EMAIL_ADDRESS\\n\\nKey ID: $GPG_ID\\n\\nFingerprint: $GPG_FINGERPRINT\\n\\nCreated: $GPG_DATE"
fi
if [ ! -f ~/.mutt/bdsmail ]; then
if [[ "$HOSTNAME" != *'.onion' ]]; then
dialog --title $"Show your Email Address" \
--backtitle $"Freedombone User Control Panel" \
--msgbox "$msgstr" 14 100
else
dialog --title $"Show your Email Address" \
--backtitle $"Freedombone User Control Panel" \
--msgbox "$msgstr" 12 100
fi
dialog --title $"Show your Email Address" \
--backtitle $"Freedombone User Control Panel" \
--msgbox "$msgstr" 14 100
else
bdsmail_address=$(grep 'set from=' ~/.mutt/bdsmail | awk -F '=' '{print $2}')
dialog --title $"Show your Email Address" \