2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-11-07 15:20:36 +00:00
This commit is contained in:
Christopher Roy Bratusek 2019-05-05 21:20:28 +02:00
parent a47373453b
commit 358ba0c6f9
2 changed files with 8 additions and 8 deletions

View File

@ -4,14 +4,14 @@ export SHELL=${BASH}
# select storage path # select storage path
if [ -n ${EXTERNAL_STORAGE} ]; then if [ -n ${EXTERNAL_STORAGE} ]; then
export HOME="${EXTERNAL_STORAGE}/logcats" export HOME="${EXTERNAL_STORAGE}"
else else
if [ -w /sdcard ]; then if [ -w /sdcard ]; then
export HOME="/sdcard/logcats" export HOME="/sdcard"
elif [ -w /storage/self/primary ]; then elif [ -w /storage/self/primary ]; then
export HOME="/storage/self/primary/logcats" export HOME="/storage/self/primary"
elif [ -w /data/media/0 ]; then elif [ -w /data/media/0 ]; then
export HOME="/data/media/0/logcats" export HOME="/data/media/0"
fi fi
fi fi

View File

@ -23,14 +23,14 @@ fi
# select storage path # select storage path
if [ -n ${EXTERNAL_STORAGE} ]; then if [ -n ${EXTERNAL_STORAGE} ]; then
STORAGE="${EXTERNAL_STORAGE}/logcats" STORAGE="${EXTERNAL_STORAGE}"
else else
if [ -w /sdcard ]; then if [ -w /sdcard ]; then
STORAGE="/sdcard/logcats" STORAGE="/sdcard"
elif [ -w /storage/self/primary ]; then elif [ -w /storage/self/primary ]; then
STORAGE="/storage/self/primary/logcats" STORAGE="/storage/self/primary"
elif [ -w /data/media/0 ]; then elif [ -w /data/media/0 ]; then
STORAGE="/data/media/0/logcats" STORAGE="/data/media/0"
fi fi
fi fi