Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script works but probably should be made to be POSIX compliant #1

Open
oregonpillow opened this issue Aug 25, 2024 · 0 comments
Open

Comments

@oregonpillow
Copy link

oregonpillow commented Aug 25, 2024

script output on Debian 12, running exactly as described in readme:

/usr/local/bin/kindle-delete-ads.sh: 14: [: -ne: unexpected operator
Autodetecting Kindle device... done
Kindle device file is /dev/sde
Mounting Kindle to temporary location: /tmp/tmp.xpD91gQrSS
Ads detected. Cleaning time.
Deleting all ads... done
Installing temp ad blocker... done
Unmounting kindle... done

it works but line 14 gives unexpected operator error. Switching to /usr/bin/bash fixed issue.

Awesome script!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant