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

AddqBittorrentTracker.sh on Synology #27

Closed
munkinasack opened this issue Apr 28, 2024 · 1 comment
Closed

AddqBittorrentTracker.sh on Synology #27

munkinasack opened this issue Apr 28, 2024 · 1 comment

Comments

@munkinasack
Copy link

Regarding AddqBittorrentTrackers.sh at this line
Synology DSM 7 doesn’t have the “rev” command. So I replaced:
| tail -n +4 | tr '\n' '|' | rev | cut -c2- | rev)

With:

| tail -n +4 | tr '\n' '|' | grep -o . | tac | tr -d '\n' | cut -c2- | grep -o . | tac | tr -d '\n')

This seems to work for me. I am not skilled in programming. Just used my Google Foo to find this option.

@Jorman
Copy link
Owner

Jorman commented May 20, 2024

Ciao @munkinasack
I've to better check compatibility for this, but I think is possible to use it, let me check in the next few days
At this point I don't remember why I used rev, maybe one implementation from another use, better check before

Thanks to point me out!

@Jorman Jorman closed this as completed in a6666c3 May 21, 2024
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

2 participants