Skip to content

Conversation

@neurofreak-alt
Copy link

@neurofreak-alt neurofreak-alt commented Jul 22, 2025

Add a check to verify that each .desktop file is writable before attempting to modify it with sed. If the file is not writable, try to set the user-writeable bit (u+w). If this fails, skip the file instead of aborting the entire script.

This prevents build failures when input files are read-only, improving robustness in RPM build environments.

Add a check to verify that each .desktop file is writable before attempting to modify
it with sed. If the file is not writable, try to set the user-writeable bit (u+w).
If this fails, skip the file instead of aborting the entire script.

This prevents build failures when input files are read-only, improving robustness
in RPM build environments.
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.

1 participant