2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-11-02 03:40:13 +00:00

improve nanodroid-overlay

This commit is contained in:
Christopher Roy Bratusek 2019-01-04 22:21:23 +01:00
parent 1c419d63b9
commit 5fab992262

View File

@ -217,10 +217,10 @@ overrides_genconfig () {
}
# check for configuration files
config_locations="/sdcard /external_sd @ZIPDIR@ /data /dev/tmp/install"
config_locations="/sdcard /external_sd /data @ZIPDIR@ /dev/tmp/install"
get_config .nanodroid-overlay
[[ -f ${config} ]] && export config || config=/data/.nanodroid-overlay
[[ -f ${config} ]] && export config || config=/sdcard/.nanodroid-overlay
opt=${1}
[[ -z ${opt} ]] && show_help || shift