Don't list undetected apps
This commit is contained in:
parent
c81f5af6c6
commit
27368c9424
|
@ -347,17 +347,22 @@ function show_domains {
|
||||||
else
|
else
|
||||||
if [[ ${app_name} == "mumble" ]]; then
|
if [[ ${app_name} == "mumble" ]]; then
|
||||||
app_name="VoIP"
|
app_name="VoIP"
|
||||||
fi
|
else
|
||||||
if [[ ${app_name} == "gnusocial" ]]; then
|
if [[ ${app_name} == "gnusocial" ]]; then
|
||||||
app_name="GNU Social"
|
app_name="GNU Social"
|
||||||
fi
|
else
|
||||||
if [[ ${app_name} == "searx" ]]; then
|
if [[ ${app_name} == "searx" ]]; then
|
||||||
app_name="Search engine"
|
app_name="Search engine"
|
||||||
|
else
|
||||||
|
app_name=''
|
||||||
|
fi
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ${#app_name} -gt 0 ]; then
|
||||||
if grep -q "${app_name} domain" $COMPLETION_FILE; then
|
if grep -q "${app_name} domain" $COMPLETION_FILE; then
|
||||||
icann_address=$(cat ${COMPLETION_FILE} | grep "${app_name} domain" | head -n 1 | awk -F ':' '{print $2}')
|
icann_address=$(cat ${COMPLETION_FILE} | grep "${app_name} domain" | head -n 1 | awk -F ':' '{print $2}')
|
||||||
fi
|
fi
|
||||||
|
@ -366,9 +371,10 @@ function show_domains {
|
||||||
onion_address=$(cat ${COMPLETION_FILE} | grep "${app_name} onion domain" | head -n 1 | awk -F ':' '{print $2}')
|
onion_address=$(cat ${COMPLETION_FILE} | grep "${app_name} onion domain" | head -n 1 | awk -F ':' '{print $2}')
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo -n -e "$(pad_string ${app_name})"
|
echo -n -e "$(pad_string "${app_name}")"
|
||||||
echo -n -e "$(pad_string ${icann_address})"
|
echo -n -e "$(pad_string "${icann_address}")"
|
||||||
echo "${onion_address}"
|
echo "${onion_address}"
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
if grep -q "RSS reader domain" $COMPLETION_FILE; then
|
if grep -q "RSS reader domain" $COMPLETION_FILE; then
|
||||||
|
|
Loading…
Reference in New Issue