mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
move dicts from external storage to internal partition,
do this after usbms seasons
This commit is contained in:
@@ -90,6 +90,11 @@ RETURN_VALUE="${RESTART_KOREADER}"
|
||||
|
||||
# Loop forever until KOReader requests a normal exit.
|
||||
while [ "${RETURN_VALUE}" -ge "${RESTART_KOREADER}" ]; do
|
||||
|
||||
# move dictionaries from external storage to koreader private partition.
|
||||
find /mnt/public/dict -type f -exec mv -v \{\} /mnt/private/koreader/data/dict \; 2>/dev/null
|
||||
|
||||
# run KOReader
|
||||
./reader.lua "${args}" >>crash.log 2>&1
|
||||
RETURN_VALUE=$?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user