Skip to content
Snippets Groups Projects
Commit f3ce14c3 authored by Bob Mottram's avatar Bob Mottram
Browse files

mobile format onion address

parent 8a615437
No related branches found
No related tags found
No related merge requests found
......@@ -427,11 +427,11 @@ function get_app_onion_address {
mobilestr="$2"
if [ ${#mobilestr} -gt 0 ]; then
mobilestr="_${mobilestr}"
app_name="mobile${app_name}"
fi
if grep -q "${app_name}${mobilestr} onion domain" $COMPLETION_FILE; then
if grep -q "${app_name}${mobilestr} onion domain" $COMPLETION_FILE; then
echo $(cat ${COMPLETION_FILE} | grep "${app_name}${mobilestr} onion domain" | head -n 1 | awk -F ':' '{print $2}')
if grep -q "${app_name} onion domain" $COMPLETION_FILE; then
if grep -q "${app_name} onion domain" $COMPLETION_FILE; then
echo $(cat ${COMPLETION_FILE} | grep "${app_name} onion domain" | head -n 1 | awk -F ':' '{print $2}')
return
fi
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment