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

Ability to specify %config(missingok) #853

Closed
2 tasks done
robsliwi opened this issue Sep 5, 2024 · 1 comment · Fixed by #854
Closed
2 tasks done

Ability to specify %config(missingok) #853

robsliwi opened this issue Sep 5, 2024 · 1 comment · Fixed by #854
Assignees
Labels
enhancement New feature or request

Comments

@robsliwi
Copy link
Contributor

robsliwi commented Sep 5, 2024

Is your feature request related to a problem? Please describe.

It's great to have a %config(noreplace) when building RPMs. Now we stumbled over the need to specify %config(missingok).

This is especially made for cases where the package manager is happy with the file being there or missing. Given files you only need within postInstall scripts, symlinks that vanish or others.

Describe the solution you'd like

Would be great to simply be able to pass type: config|missingok to a "content".

Describe alternatives you've considered

Writing spec files by hand and not using nfpm. Which is somewhat not a real alternative 😇

Search

  • I did search for other open and closed issues before opening this.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Additional context

https://rpm-software-management.github.io/rpm/manual/spec.html#missingok-since-rpm--414-in-standalone-form

@robsliwi robsliwi added the enhancement New feature or request label Sep 5, 2024
caarlos0 added a commit that referenced this issue Sep 5, 2024
@caarlos0
Copy link
Member

caarlos0 commented Sep 5, 2024

hey, thanks for the issue!

can you check if #854 does what you need?

thanks!

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

Successfully merging a pull request may close this issue.

2 participants