|
|
@ -42,13 +42,13 @@ update_koreader() {
|
|
|
|
|
|
|
|
|
|
|
|
found_koreader_package="false"
|
|
|
|
found_koreader_package="false"
|
|
|
|
# Try to find a koreader package... Behavior undefined if there are multiple packages...
|
|
|
|
# Try to find a koreader package... Behavior undefined if there are multiple packages...
|
|
|
|
for file in /mnt/us/koreader-kindle-*.targz; do
|
|
|
|
for file in /mnt/us/koreader-kindle*.targz; do
|
|
|
|
if [ -f "${file}" ]; then
|
|
|
|
if [ -f "${file}" ]; then
|
|
|
|
found_koreader_package="${file}"
|
|
|
|
found_koreader_package="${file}"
|
|
|
|
koreader_pkg_type="tgz"
|
|
|
|
koreader_pkg_type="tgz"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
done
|
|
|
|
for file in /mnt/us/koreader-kindle-*.zip; do
|
|
|
|
for file in /mnt/us/koreader-kindle*.zip; do
|
|
|
|
if [ -f "${file}" ]; then
|
|
|
|
if [ -f "${file}" ]; then
|
|
|
|
found_koreader_package="${file}"
|
|
|
|
found_koreader_package="${file}"
|
|
|
|
koreader_pkg_type="zip"
|
|
|
|
koreader_pkg_type="zip"
|
|
|
|