mirror of
https://gitlab.com/Nanolx/NanoDroid
synced 2024-10-31 09:20:23 +00:00
nanodroid-overlay: fix
This commit is contained in:
parent
641f2e116e
commit
21ac0ec971
@ -90,7 +90,7 @@ overrides_add () {
|
||||
|
||||
for app in ${@}; do
|
||||
for path in ${app_locations}; do
|
||||
[ -d ${path}/${app} ] && overrides_add_intern app ${app}
|
||||
[ -d ${path}/${app} ] && overrides_add_intern ${path} ${app}
|
||||
done
|
||||
done
|
||||
|
||||
@ -115,7 +115,7 @@ overrides_remove () {
|
||||
for app in ${@}; do
|
||||
if [ "${MODE}" = "MAGISK" ]; then
|
||||
for path in ${app_locations}; do
|
||||
[ -f ${OVERLAY_PATH}/${path}/${app}/.replace ] && overrides_add_intern app ${app}
|
||||
[ -f ${OVERLAY_PATH}/${path}/${app}/.replace ] && overrides_remove_intern ${path} ${app}
|
||||
done
|
||||
else
|
||||
# only remove entry from config file (if it exists)
|
||||
|
Loading…
Reference in New Issue
Block a user