2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-10-31 09:20:23 +00:00

nanodroid-overlay: a bit nicer output

This commit is contained in:
Christopher Roy Bratusek 2020-10-10 11:43:34 +02:00
parent 03dc17e7d2
commit ebf3588c9b

View File

@ -130,7 +130,7 @@ overrides_list () {
for path in ${app_locations}; do
if [ -d ${OVERLAY_PATH}/${path} ]; then
app_int=""
echo "Overrides for ${path}:"
echo -e "\n ** Overrides for ${path}:"
for app in $(find "${OVERLAY_PATH}/${path}" -name "*.replace"); do
app_int="\n * $(basename $(dirname "${app}"))${app_int}"
done
@ -147,7 +147,7 @@ overrides_list_non () {
for path in ${app_locations}; do
if [ -d ${path} ]; then
app_int=""
echo "Non-Overriden apps for ${path}:"
echo -e "\n ** Non-Overriden apps for ${path}:"
for app in $(find "${path}" -mindepth 1 -maxdepth 1 -type d); do
[ ! -d ${OVERLAY_PATH}/${app} ] && app_int="\n * $(basename ${app})${app_int}"
done
@ -157,7 +157,7 @@ overrides_list_non () {
else
for path in ${app_locations}; do
if [ -d ${path} ]; then
echo "Non-Overriden apps for ${path}:"
echo -e "\n ** Non-Overriden apps for ${path}:"
for app in $(find "${path}" -mindepth 1 -maxdepth 1 -type d); do
app_int="\n * $(basename ${app})${app_int}"
done