prsh11 / manga-cli

📖 Script to read manga from cli
MIT License
80 stars 4 forks source link

Fix errors #24

Closed AlexFreik closed 1 year ago

AlexFreik commented 1 year ago

I am not sure how it can work on linux, but it doesn't work on macOS.

In the line 73 there is an extra $ sign, I suppose it is a typo...

Also the quotes when placed after in rm create an issue since quoting the stops it from globbing https://unix.stackexchange.com/questions/326584/rm-command-in-bash-script-does-not-work-with-variable

So it leads to the following error:

rm: /Users/alexfreik/.cache/manga-cli/*.jpg: No such file or directory
AlexFreik commented 1 year ago

It seems #19 had similar issues