mirror of
https://gitlab.com/Nanolx/NanoDroid
synced 2024-11-07 15:20:36 +00:00
fixup
This commit is contained in:
parent
a47373453b
commit
358ba0c6f9
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user