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

Don't override user preference in unrar #251

Merged
merged 1 commit into from
May 1, 2024
Merged

Conversation

Anuskuss
Copy link
Contributor

@Anuskuss Anuskuss commented Apr 30, 2024

Description

nzbget automatically adds -o+ (override existing files) if it doesn't find either -o- (don't override) or -o+ in the UnrarCmd. But there's also -or (rename instead of override) so I added a check for that (which I personally feel like should be the default but I didn't want to change existing behaviour)

@dnzbk dnzbk requested review from dnzbk and phnzb April 30, 2024 05:19
@dnzbk
Copy link
Collaborator

dnzbk commented May 1, 2024

lgtm, but could you add a bit more detailed description of what the problem was and how it was solved because the current description is too general, thanks.

@Anuskuss
Copy link
Contributor Author

Anuskuss commented May 1, 2024

nzbget automatically adds -o+ (override existing files) if it doesn't find either -o- (don't override) or -o+ in the UnrarCmd. But there's also -or (rename instead of override) so I added a check for that (which I personally feel like should be the default but I didn't want to change existing behaviour). I though that the change was small enough that I could just "sneak it in" so to speak.

@dnzbk dnzbk merged commit 4837028 into nzbgetcom:develop May 1, 2024
1 check passed
beertje44 pushed a commit to beertje44/nzbget that referenced this pull request May 23, 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

Successfully merging this pull request may close these issues.

2 participants