mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Simplify koreader.sh
`-C "${KOREADER_DIR}"` isn't needed, see https://github.com/koreader/koreader/issues/2752#issuecomment-293698136.
This commit is contained in:
@@ -12,7 +12,7 @@ NEWUPDATE="${KOREADER_DIR}/ota/koreader.updated.tar"
|
||||
INSTALLED="${KOREADER_DIR}/ota/koreader.installed.tar"
|
||||
if [ -f "${NEWUPDATE}" ]; then
|
||||
# TODO: any graphic indication for the updating progress?
|
||||
./tar xf "${NEWUPDATE}" --strip-components=1 -C "${KOREADER_DIR}" && mv "${NEWUPDATE}" "${INSTALLED}"
|
||||
./tar xf "${NEWUPDATE}" --strip-components=1 && mv "${NEWUPDATE}" "${INSTALLED}"
|
||||
fi
|
||||
|
||||
# load our own shared libraries if possible
|
||||
|
||||
Reference in New Issue
Block a user