From ae19cafe84541b0235ef915bdd99be1707a503ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Fern=C3=A1ndez?= Date: Sun, 23 Aug 2020 15:13:54 +0200 Subject: [PATCH] check OTA updates on restart --- platform/cervantes/koreader.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/platform/cervantes/koreader.sh b/platform/cervantes/koreader.sh index 961d73128..751df8f73 100755 --- a/platform/cervantes/koreader.sh +++ b/platform/cervantes/koreader.sh @@ -97,6 +97,9 @@ 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 + # Do an update check now, so we can actually update KOReader via the "Restart KOReader" menu entry ;). + ko_update_check + # run KOReader ./reader.lua "${args}" >>crash.log 2>&1 RETURN_VALUE=$?