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
|
||||||
|
|
||||||
W+=("${app_name}" "${icann_address} / ${onion_address}")
|
if [[ "${icann_address}" != '-' ]]; then
|
||||||
|
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")
|
||||||
W+=("${app_name} (mobile)" "${icann_address} / ${onion_address}")
|
if [[ "${icann_address}" != '-' ]]; then
|
||||||
|
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