Onion address formatting
This commit is contained in:
parent
f30d7e82b1
commit
b9777b049f
|
@ -284,11 +284,19 @@ function show_domains {
|
||||||
onion_address="-"
|
onion_address="-"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "${icann_address}" != '-' ]]; then
|
||||||
W+=("${app_name}" "${icann_address} / ${onion_address}")
|
W+=("${app_name}" "${icann_address} / ${onion_address}")
|
||||||
|
else
|
||||||
|
W+=("${app_name}" "${onion_address}")
|
||||||
|
fi
|
||||||
|
|
||||||
if grep -q "mobile${app_name} onion domain" "$COMPLETION_FILE"; then
|
if grep -q "mobile${app_name} onion domain" "$COMPLETION_FILE"; then
|
||||||
onion_address=$(get_app_onion_address "${app_name}" "mobile")
|
onion_address=$(get_app_onion_address "${app_name}" "mobile")
|
||||||
|
if [[ "${icann_address}" != '-' ]]; then
|
||||||
W+=("${app_name} (mobile)" "${icann_address} / ${onion_address}")
|
W+=("${app_name} (mobile)" "${icann_address} / ${onion_address}")
|
||||||
|
else
|
||||||
|
W+=("${app_name} (mobile)" "${onion_address}")
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue