mirror of https://github.com/captn3m0/Scripts.git
koreader update script improvement
This commit is contained in:
parent
e44a3506f1
commit
30e47d347c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue