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

nanodroid-overlay: minor fix

This commit is contained in:
Christopher Roy Bratusek 2020-10-10 08:10:12 +02:00
parent 3cec4a6185
commit 641f2e116e

View File

@ -129,6 +129,7 @@ overrides_list () {
if [ "${MODE}" = "MAGISK" ]; then
for path in ${app_locations}; do
if [ -d ${OVERLAY_PATH}/${path} ]; then
app_int=""
echo "Overrides for ${path}:"
for app in $(find "${OVERLAY_PATH}/${path}" -name "*.replace"); do
app_int="\n * $(basename $(dirname "${app}"))${app_int}"
@ -145,6 +146,7 @@ overrides_list_non () {
if [ "${MODE}" = "MAGISK" ]; then
for path in ${app_locations}; do
if [ -d ${path} ]; then
app_int=""
echo "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}"