mobile format onion address
This commit is contained in:
parent
8a6154376b
commit
f3ce14c385
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue