koreader update script improvement

This commit is contained in:
Nemo 2020-09-03 17:44:37 +05:30
parent e44a3506f1
commit 30e47d347c
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ FILE_NAME=$(cat "$JSON_PATH" | jq --raw-output '.assets[] |select(.name | contai
echo "Latest version is $FILE_NAME"
wget --no-clobber --directory-prefix="$STORAGE_DIRECTORY" "$DOWNLOAD_URL"
wget --no-clobber --directory-prefix="$STORAGE_DIRECTORY" "$DOWNLOAD_URL" --output-file "$FILE_NAME"
if [[ -d "$KINDLE_MOUNT_PATH" ]]; then
if [[ $@ == *'--please'* ]]; then